bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a command line parameter; $1="new Value"


From: Chet Ramey
Subject: Re: Setting a command line parameter; $1="new Value"
Date: Mon, 20 Nov 2000 11:43:34 -0500

> I passed in a command line, but i want to set it to a new value... How can I
> do this? The reason why I want to do this is that I might get $1 = My long
> phrase
> 
> But I want to turn $1 = "My long phrase"

Look at the `set' builtin.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]