How do I create a shell script function using Bash under UNIX / Linux operating systems?
{ 3 comments }
by nixCraft on January 27, 2009 · 3 comments
How do I create a shell script function using Bash under UNIX / Linux operating systems?
{ 3 comments }
by nixCraft on June 19, 2007 · 0 comments
I‘m writing a wrapper bash shell script that will get the last argument (a domain name) from the command line into a shell variable called $_domain. I need to find all other parameters before last parameter in $@ and stored in a shell variable called $allargs. So that I can pass them as follows:
/path/to/real/binary “$allargs” “$_domain”
How do I do this using bash shell under Unix like operating systems?
{ 0 comments }
by nixCraft on August 14, 2006 · 4 comments

