Index:
[thread]
[date]
[subject]
[author]
From: Jason Grosland <jcg3@cs.duke.edu>
To :
Date: Thu, 11 Mar 1999 13:53:08 -0500
Re: Retreiving Regular Expression from the command line?
On Thu, 11 Mar 1999, Alexander Leonard Zupancich wrote:
> Any ideas on how we can get the regular expression as a string?
Your shell does nice things with expanding certain characters (namely *
and ?). You can read about what else it does by doing 'man csh', or your
shell of choice.
Try some of these:
% echo \*.cc
% echo '*.cc'
% echo "*.cc"
% echo "'foo'"
% echo o\'clock
-Jason
- 67 days and counting until I face reality... (days till Graduation) -
- jcg3@cs.duke.edu shanty.dorm.duke.edu www.duke.edu/~jcg3 -
Index:
[thread]
[date]
[subject]
[author]