Shell Activity Write a program called parseline that parses a string with pipes and redirection • Ask the user to type a string which you will read. (2 examples below.) Tuse the strtok function Print out each token that you capture. • This will be the starting point for assignment 3. . bmptool -f example.bmp | bmptool -s 2-o results.bmp Results would be: bmptool -f example.bmp 1 bmptool -S 2 -0 results.bmp cat parseline.c | grep main > outfile Results would be: cat parseline.c 1 grep main > outfile
The reference papers or solutions provided by Bestnursingassignmenthelp.com serve as model papers or solutions for students or professionals and are not to be submitted as it is to any institutions. These documents are intended to be used for research and reference purposes only.
+1 985 401 7713