Re: Passing command line arguments

2005-04-14 Thread Jay Savage
On 4/13/05, Bret Goodfellow <[EMAIL PROTECTED]> wrote: > I have a script that is reading input from ARGV. The script is being > passed a file name as follows: > > datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log > > The problem I am running into is that the space is not recognized in the

Re: Passing command line arguments

2005-04-14 Thread Stephen Day
On Friday 15 April 2005 12:18 am, John W. Krahn wrote: > >>datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log > > > > You could paste the two arguments together in perl, add > > a space between them, and use that as the filename. > > What if there are two or more spaces? A TAB character? Th

Re: Passing command line arguments

2005-04-14 Thread John W. Krahn
Stephen Day wrote: On Wednesday 13 April 2005 11:12 pm, Bret Goodfellow wrote: I have a script that is reading input from ARGV. The script is being passed a file name as follows: datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log You could paste the two arguments together in perl, add a space

Re: Passing command line arguments

2005-04-14 Thread Stephen Day
On Wednesday 13 April 2005 11:12 pm, Bret Goodfellow wrote: > I have a script that is reading input from ARGV. The script is being > passed a file name as follows: > > datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log You could paste the two arguments together in perl, add a space between t

RE: Passing command line arguments

2005-04-13 Thread Moon, John
Subject: Passing command line arguments I have a script that is reading input from ARGV. The script is being passed a file name as follows: datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log The problem I am running into is that the space is not recognized in the argument. All that I ge