Re: Can $1 be set in a script?



On 2006-03-30, larryalk wrote:
On Thu, 30 Mar 2006 15:46:02 -0500, "Chris F.A. Johnson"
<cfajohnson@xxxxxxxxx> wrote:

On 2006-03-30, larryalk wrote:
Can $1 be set to something else in a script?

[I don't think this is the right groups for this question]

You are absolutely correct. I should have posted to comp.unix.shells
But I hit my target ;-)

To be clearer, assuming a script called with or without a $1
how can I can assign the (possibly non-existant) $1 to something?

Read my previous post. It's in the part you snipped.

--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.