write a shell script that counts a number of unique word
contained in the file and print them in alphabetical order
line by line?
Answer Posted / manuswami
$ rm -f res res1 ; while read line ; do cat uniqtest | grep
-wc $line >>res1 ; echo "$line :-> Count=" >>res ;done <uni
qtest ; paste res res1 >final_temp ; cat final_temp|sort -u
>final ; rm -f res res1 final_temp1
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What are the different commands available to check the disk usage?
is this growing field and what is average package in this?
Is shell scripting useful?
What does it mean to debug a script?
What are the different types of shell scripting?
What language is bash written in?
How do I run a .sh file on mac?
What is the best scripting language?
Is scripting and coding the same thing?
What are the types of script?
What is scripting autism?
What is web script?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is scripting used for?
What is shell application?