https://github.com/herocharge/ISS-Ass1
Dependencies: SED, AWK
It is assumed that the operation is always done on quotes.txt
. So it is hardcoded into the code.
$ ./q1.sh
This will print quotes.txt
without blank lines and duplicates.
Dependencies: AWK
$ ./q2.sh
This will take input from quotes.txt
and modifies the text and stores it in speech.txt
.
Dependencies: AWK
$ ./q3.sh
Enter the file name to be analysed. Prints the following properties of the file:
- Size
- No of lines
- No of words
- Count of words in each line
- Number of times each word appeared in the file
Dependencies: None
$ ./q4.sh
Enter the numbers to be sorted separated by a comma(,)
The sorted list is printed with space as delimiter.
$ ./q5.sh
Enter the input string.
The string reversed will be printed.
The reversed version with all letters cyclically shifted will be printed.
The input string with the first half reversed is printed.