Index:
[thread]
[date]
[subject]
[author]
From: Alexander Leonard Zupancich <alz5@duke.edu>
To :
Date: Thu, 11 Mar 1999 03:14:54 -0500
Retreiving Regular Expression from the command line?
Hey everyone...
Quick question....
When we use a regular expression as an argument to one of our programs
UNIX seems to kick in and give us a whole bunch of filenames that match
that regular expression in the ARGV array INSTEAD of the characters that
make up the regular expression itself.
Any ideas on how we can get the regular expression as a string?
eg:
sools *.cc
argv[0] = sools
argv[1] = *.cc
Thanks in advance!
Alex
Index:
[thread]
[date]
[subject]
[author]