Shell script doubts

view full story

http://www.unix.com – Hello please kindly solve these doubts i have about the following scripts Code: Script 1 //Shell script that accepts arguments and prints them in reverse order// echo "number of arguments" len=$#; while [ $len -ne 0 ] do eval echo \$$len len=`expr $len - 1` done --------- Output $sh test.sh a b b a 1.what is \$$len.what is the significance of the escape sequence Script 2 Code: //Bundle shell script that accepts file name as arguments and create a shell scipr that has the file as well as the code to recreate the files.Thus if the script generated by your script is execu (HowTos)