Date: Wed, 30 Jun 1999 09:53:56 -0400
Reply-To: Tim Vorce <timv@TRILLIUMTEAM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: Re: Help a SAS user on UNIX Looking for an active Unix List group
Content-Type: text/plain; charset="iso-8859-1"
The command that you are looking for is sed. UNIX as an operating system
seems to take pride in cryptic commands, and this is typical. Try
sed -e s/str1/str2/g file1 > file2
Well, maybe not, this one will substitute all occurrences of str2 with str1.
Unfortunately, it only does 1 file at a time, this one will input file1 and
output file2. You might want to wrap a SAS script around it to get a file
listing, so you would have the individual file names.
Tim Vorce (248) 586-1999
SAS. It's not just an attitude
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of
Sent: Wednesday, June 30, 1999 6:09 AM
Subject: Help a SAS user on UNIX Looking for an active Unix List group
Sorry to bother you with this but i need some help on Unix available tools.
pgm to do a find/replace on many files at a time.
> Can someone indicate me a Great Unix group ?
> Jacques Lanoue
> Ingenieur informatique
> RHONE-POULENC RORER
> Consultem France