Re: Modifying strings in a file.

From: Bill Verzal (Bill_Verzal@BCBSIL.COM)
Date: Wed Aug 28 2002 - 13:42:09 EDT


sed "s/A//g" wil replace all "A" characters with nothing. Hence delete
them.

BV
--------------------------------------------------------------------------------------------------------

Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
MailStop: 27.201C

                    Ron Schwingel
                    <rschwing@NDSL To: aix-l@Princeton.EDU
                    TD.COM> cc:
                    Sent by: IBM Subject: Modifying strings in a file.
                    AIX Discussion
                    List
                    <aix-l@Princet
                    on.EDU>

                    08/28/2002
                    12:13 PM
                    Please respond
                    to IBM AIX
                    Discussion
                    List

Does anyone know of a way, using "sed" or "awk", to delete a single
character
or characters from a line within a file.

Thanks,

Ron Schwingel
Technical Support

NDS Solutions
303.755.4411(phone)
303.755.4545(fax)
rschwing@ndsltd.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:10 EDT