Index:
[thread]
[date]
[subject]
[author]
From: Garrett Mitchener <wgm2@acpub.duke.edu>
To :
Date: 02 Mar 1999 23:30:56 -0500
Re: Question about sools
Tim Bain <tpb2@duke.edu> writes:
>
> If so, how should we implement the call for M*? By
> default, UNIX will change this "M*" into a bunch of
> filenames that begin with M, separated by spaces. So
> we're basically doing a bunch of calls to sools for
> individual files (for example,
>
> sools s*
>
> is interpreted as
>
> sools sools sools.cc sools.o sorter.cc sorter.h sorter.o ...
>
> so we basically do a bunch of calls like
> sools sools
> sools sools.cc
> sools sools.o
> sools sorter.cc
> sools sorter.h
> sools sorter.o
Sort of. You are correct in how the s* is expanded, but handling
directory or file names that start with the same letter should be
handled just like
sools foo bar baz spam eggs
> That's not really necessarily the same as searching for
> all files beginning with s... Is there a good way to pass
> in the *, rather than have UNIX interpret it? And/or,
> SHOULD we be doing that?
>
> Thanks.
> Tim
You can pass strings in un-interpreted by the shell by using single
quotes and backslashes. Try man csh.
-- Garrett :-)
Index:
[thread]
[date]
[subject]
[author]