How can I pass a command line argument into a shell script?

view full story

http://unix.stackexchange.com – I know that shell scripts just run commands as if they were executed in at the command prompt. I'd like to be able to run shell scripts as if they were functions... That is, taking an input value or string into the script. How do I approach doing this? (HowTos)