windows, parameters and globbing (was Re: passing an empty string to a perl script via command line)

2002-06-11 Thread Jenda Krynicky
From: drieux <[EMAIL PROTECTED]> > On Tuesday, June 11, 2002, at 07:12 , Jenda Krynicky wrote: > > From: Bob Showalter <[EMAIL PROTECTED]> > >> The parsing of the command line and preparation of the argument > >> list is a function of the shell or command interpreter. Perl just > >>

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Bryan R Harris
an R Harris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 11:50 AM > To: [EMAIL PROTECTED] > Subject: RE: passing an empty string to a perl script via command line > > > > Interesting! It looks like my problem comes from the way I'm reading > argument

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Bob Showalter
> -Original Message- > From: Bryan R Harris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 11:50 AM > To: [EMAIL PROTECTED] > Subject: RE: passing an empty string to a perl script via command line > > > > Interesting! It looks like my problem com

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Bryan R Harris
e vague on the fix, is it immediately clear to someone? - B __ > -Original Message- > From: Anders Holm [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 8:46 AM > To: Ramprasad A Padmanabhan; [EMAIL PROTECTED] > Subject: RE: passing an empty string t

Re: passing an empty string to a perl script via command line

2002-06-11 Thread drieux
On Tuesday, June 11, 2002, at 07:12 , Jenda Krynicky wrote: > From: Bob Showalter <[EMAIL PROTECTED]> >> The parsing of the command line and preparation of the argument list >> is a function of the shell or command interpreter. Perl just takes the >> argument list given to it via

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Bob Showalter
> -Original Message- > From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 10:12 AM > To: [EMAIL PROTECTED] > Subject: RE: passing an empty string to a perl script via command line > > > From: Bob Showalter <[EMAIL

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Jenda Krynicky
From: Bob Showalter <[EMAIL PROTECTED]> > The parsing of the command line and preparation of the argument list > is a function of the shell or command interpreter. Perl just takes the > argument list given to it via the execve() call. This is not true under Windows. There the pr

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Anders Holm
script via command line > -Original Message- > From: Anders Holm [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 8:46 AM > To: Ramprasad A Padmanabhan; [EMAIL PROTECTED] > Subject: RE: passing an empty string to a perl script via command line > > > And, fo

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Bob Showalter
> -Original Message- > From: Anders Holm [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 8:46 AM > To: Ramprasad A Padmanabhan; [EMAIL PROTECTED] > Subject: RE: passing an empty string to a perl script via command line > > > And, for completeness: >

RE: passing an empty string to a perl script via command line

2002-06-11 Thread Anders Holm
Padmanabhan [mailto:[EMAIL PROTECTED]] Sent: 11 June 2002 13:39 To: [EMAIL PROTECTED] Subject: Re: passing an empty string to a perl script via command line put your cmd-line arguments within quotes make sure they do not contain quotes themselves Bryan R Harris wrote: > Slightly OT, but does

Re: passing an empty string to a perl script via command line

2002-06-11 Thread Ramprasad A Padmanabhan
put your cmd-line arguments within quotes make sure they do not contain quotes themselves Bryan R Harris wrote: > Slightly OT, but does anyone know how to pass an empty string to a script > via the command line? I have a script that is invoked via: > >rename match-str replace-str > > ...

Re: passing an empty string to a perl script via command line

2002-06-10 Thread drieux
On Monday, June 10, 2002, at 03:36 , Bryan R Harris wrote: > > Slightly OT, but does anyone know how to pass an empty string to a script > via the command line? I have a script that is invoked via: > >rename match-str replace-str > > where the rename script does an s/match-str/replace

Re: passing an empty string to a perl script via command line

2002-06-10 Thread Janek Schleicher
Bryan R Harris wrote at Tue, 11 Jun 2002 00:36:39 +0200: > Slightly OT, but does anyone know how to pass an empty string to a script via the >command line? I > have a script that is invoked via: > >rename match-str replace-str > > where the rename script does an s/match-str/replace

passing an empty string to a perl script via command line

2002-06-10 Thread Bryan R Harris
Slightly OT, but does anyone know how to pass an empty string to a script via the command line? I have a script that is invoked via: rename match-str replace-str where the rename script does an s/match-str/replace-str/g on the filenames (variables evaluated, of course; the script alre