From: Yvon Thoraval Date: 2006-08-12T23:59:08+09:00 Subject: Re: gets give me last arg of script ??? --Apple-Mail-1-993883479 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Le 12 ao=FBt 06 =E0 15:50, ts a =E9crit : > ARGV[0] is used but was *not* removed from ARGV > > Try this > > moulon% ruby -e 'p ARGV[0]; p gets' inexistant > [...] > > moulon% ruby -e 'p ARGV.shift; p gets' inexistant ok, fine thanks, that's clear != --Apple-Mail-1-993883479--