[olug] bash script help

William E. Kempf williamkempf at hotmail.com
Thu Oct 3 21:53:13 UTC 2002


From: "David Walker" <linux_user at grax.com>
> > That's what I'm doing... the echo is only for illustration.  Replace
"echo"
> > with the name of the script to be called and you'll see the issue.  What
> > should be 2 arguments gets passed to the script as 3 arguments.

other-script "${@:0:$#}" "new-value"

Thanks for the help.

Bill Kempf



More information about the OLUG mailing list