missing the darn quotes is the worlds most common goof up :-(, my shell often shouts at me as well lol. On shell script, you basically put a '#!/bin/sh' on the first line of the file, then write in commands as if each line of text was a command line in your shell. Then save it, set the file executable with chmod, so you can run it like a program (e.g. '$ ~/test.sh')
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|