Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
,. a-zA-Z . d -- It means that lines which have at least 1 letter (a-z or A-Z) after a comma should be deleted.
The only line which doesn't have a letter after comma is Edith Cowan University,22202,4239,26441 . It only has numbers after any comma....
Chuanhe,
Shell functions can only return an exit status (a number). It cannot return string.
We can capture the exit status with ?
Here is a code with a simple function.
bin bash
function test
echo 1
return 123
test 'Hello'
echo ?
May be this has been asked in this group already but I am unable to find an answer to it in the posts here.
Are we supposed to include numbers in word count? For instance text "to 120 first" has 3 words or just 2 (120 gets excluded)?
Also, does this te...
Michael,
I am also still getting word count as 95. Also, I don't think the file you intended to attach made it here.
The file attached in the previous reply (Thanks a ton to he she who did it) nicely captures what we are considering as words.
Can you pl...
Michael,
For me, the word count for sample2.txt comes out to 95 instead of 92 listed in profile uploaded by you.
I have counted the words to ensure it should come to 95. Can you please confirm if 95 is indeed the right count of words?
Since it affects t...
Michael,
It seems you have changed the way normalised profile needs to be created. I hope this changed was intended.
It now says -- The counts for each of the conjunctions, comma, semi colon, compound word and contraction be normalised by dividing by ...