On Sun, Nov 20, 2011 at 6:43 PM, Peng Yu <pengyu...@gmail.com> wrote:
> Hi,
>
> I don't see if there is a way to directly modify $@. I know 'shift'.
> But I'm wondering if there is any other way to modify $@.
>
> ~$ 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