Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2021114016_ISS ASSIGNMENT 1

 Questions can be found in *Question.pdf*

Question 1

Instructions to Run

$ ./q1.sh <filename>

The program prints the output in the terminal after doing both the tasks, that is after removing the empty lines and removing the duplicates

Question 2

Instructions to Run

$ ./q2.sh <filename>

As given in the questions the script outputs the file after operation to another file called "speech.txt"

Question 3

Instructions to Run

$ ./q3.sh <filename>

Output Format

Size of the file = <size_of_file>
Number of lines = <lines>
Numer of words = <words>
Line No: <line_no> - Count of Words: <count>
.
.
Word: <word> - Count of repetition: <count>
.
.

NOTE : In Q3(e), only the words which were repeated (having more than one occurence) are being printed

Question 4

Instructions to Run

$ ./q4.sh <input_in_CSV_format>

Output Format

 Original Array : \<the_original_array\> 
 Sorted Array : \<the_sorted_array\>

Question 5

Instructions to Run

$ ./q5.sh
$ <input_string>

Output Format

<reverse_string>
<subsequent_letter>
<half_in_reverse>

About

Some small bash programs written as part of my Intro to Software Systems Course

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages