Le 15226ième jour après Epoch,
Ivan Shmakov écrivait:

> $ (i=world ; printf 'Hello, %s!\n' "$i") 
> Hello, world!
> $ 
>
>       (The parentheses there ensure that the variable will be used for
>       this command line only and will not linger.)

Or, if it's only for one command, you can do:

i="some value" command parm1 parm2 ... some_parm_with_i


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to