Date: Wed, 11 Apr 2007 20:32:19 -0700
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: OT: Unix command for finding sas programs containing a
In-Reply-To: <05e401c77c6b$b5d52c60$6601a8c0@DataSavant>
Content-Type: text/plain; format=flowed
Gregg Snell replied:
>
>Here is a variation that I use:
>
>find <your directory> -name "*.sas" | xargs grep -i "intact"
>
>Regards,
>Gregg Snell
This is a really good suggestion if there are likely to be a *lot* of files
to check. xargs(1) is really good about handling a large number of
inputs for passing on to other utilities.
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Download Messenger. Join the i’m Initiative. Help make a difference today.
http://im.live.com/messenger/im/home/?source=TAGHM_APR07