R
RichardOnRails
Hi,
I'd like to do something like:
dir *.rb | find ".rb"
in order to filter out everything returned by Dir except lines that
presumably contain the file-names.
"find" appears not to be a legitimate, but I recall doing something
like this in DOS and/or early versions of Windows like 3.1. I Googled
for this and checked MS' docs for XP's command line to no avail
(There may be an option like that for Dir, but I'm interested in the
filtering process itself, not that particular command.)
Any ideas?
Thanks in advance,
Richard
I'd like to do something like:
dir *.rb | find ".rb"
in order to filter out everything returned by Dir except lines that
presumably contain the file-names.
"find" appears not to be a legitimate, but I recall doing something
like this in DOS and/or early versions of Windows like 3.1. I Googled
for this and checked MS' docs for XP's command line to no avail
(There may be an option like that for Dir, but I'm interested in the
filtering process itself, not that particular command.)
Any ideas?
Thanks in advance,
Richard