bug-bash
[Top][All Lists]
Advanced

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

Re: How to directly modify address@hidden


From: Pierre Gaston
Subject: Re: How to directly modify address@hidden
Date: Sun, 20 Nov 2011 18:54:42 +0200

On Sun, Nov 20, 2011 at 6:43 PM, Peng Yu <address@hidden> wrote:
> Hi,
>
> I don't see if there is a way to directly modify address@hidden I know 
> 'shift'.
> But I'm wondering if there is any other way to modify address@hidden
>
> ~$ 1=x
> -bash: 1=x: command not found
> ~$ @=(a b c)
> -bash: syntax error near unexpected token `a'
>
you need to use the set builtin:
set -- a b c



reply via email to

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