You should be able to just escape the *.  Single quoting them should also
work.

script.pl file\* names\*
script.pl 'file*' 'names*'

Rob

-----Original Message-----
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 5:03 PM
To: Beginners (E-mail)
Subject: command line arguments


Is there a way to get the command line arguments before they are expanded by
the shell?

script.pl file* names*

I want to get the file* and not the expanded list of file1 file2 file3 file4
etc.

I know I can put it in quotes but is there any other way around it?

Delivery Queue
<http://www/reldist-bin/build/assign/listassign.cgi?reverse=on>

Nikola Janceski
Summit Systems, Inc.
212-896-3400

A wise man will make more opportunities than he finds.
-- Francis Bacon 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to