Shell Scripting with Arguments

view full story

http://www.unix.com – 1. The problem statement, all variables and given/known data: Problem 1: I need to create a shell script the takes three arguments and echo's out "There once was a ____that____who like to_____" The arguments go where the blanks are. Problemt 2: -Do an LS and store the listings in a file -Open the file in emacs. -create a macro that converts that single line to the command "mv file.txt file.dat" -run the macro over the entire file. -chmod +x the listing file -run the file as a script. 2. Relevant commands, code, scripts, algorithms: For pro (HowTos)