LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   dealing with arguments (http://www.linuxquestions.org/questions/programming-9/dealing-with-arguments-596465/)

hammertime1983 11-01-2007 06:46 PM

dealing with arguments
 
Hello,

I'm trying to write a script in Linux which will take an unspecified amount of arguments and print them out...

i.e.

test.sh hello world
hello world

Thanks

unSpawn 11-01-2007 07:09 PM

Code:

function help() { echo "Bash scripting guides:
http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html
http://www.tldp.org/LDP/abs/html/"; }

?

bigearsbilly 11-02-2007 08:43 AM

are these the people my job is being out-sourced to?


All times are GMT -5. The time now is 06:52 AM.