Re: How to directly modify $@?

2011-11-20 Thread Mike Frysinger
On Sunday 20 November 2011 11:54:42 Pierre Gaston wrote: > On Sun, Nov 20, 2011 at 6:43 PM, Peng Yu 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

Re: How to directly modify $@?

2011-11-20 Thread Pierre Gaston
On Sun, Nov 20, 2011 at 6:43 PM, Peng Yu 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

How to directly modify $@?

2011-11-20 Thread Peng Yu
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' -- Regards, Peng