[HPADM] Summery : Howto remove control characters from a unix text fil e
From: Paul.Soltermann@vonroll-isola.com
Date: 04/16/03
- Previous message: Paul.Soltermann@vonroll-isola.com: "[HPADM] Antwort: RE: Howto remove control characters from a unix text fil e"
- Next in thread: vinod kumar: "[HPADM] Re: man output to a file"
- Reply: vinod kumar: "[HPADM] Re: man output to a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Paul.Soltermann@vonroll-isola.com To: hpux-admin@dutchworks.nl Date: Wed, 16 Apr 2003 18:55:13 +0100
Thank you to Steve Illgen, this was the reference needed !
It works fine.
Paul
Illgen Steve 448
<steve.illgen@crackerb An: "'Paul.Soltermann@vonroll-isola.com'"
arrel.com> <Paul.Soltermann@vonroll-isola.com>
Kopie:
2003/04/16 17:23 Thema: RE: [HPADM] Howto remove control characters from a unix text
fil e
Use sed:
sed -e "s/^L//" file1 > file2
Make sure you enter [Ctrl] V, before typing the letter L. [Ctrl] V causes
the next character to be interpreted as a control character. In this case,
'[Ctrl] V, L' shows up as '^L'.
I hope this helps.
Steve Illgen
Unix Systems Administrator
Cracker Barrel Old Country Store, Inc.
"Pass the Biscuits, Please!"
-----Original Message-----
From: Paul.Soltermann@vonroll-isola.com
[mailto:Paul.Soltermann@vonroll-isola.com]
Sent: Wednesday, April 16, 2003 11:58 AM
To: hpux-admin@DutchWorks.nl
Subject: [HPADM] Howto remove control characters from a unix text file
Hi All,
How can I remove control characters from a unix text file.
For example:
# grep -v ^L file1 > file2
does not work, "^L" is still in <file2>
Thanks for any help !
Schweizerische Isola-Werke AG
Paul Soltermann
Passwangstrasse 20
CH-4226 Breitenbach
Phone: +41 61 785 56 47 Natel
079 4597835
Email:
paul.soltermann@vonroll-isola.com
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner:
owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
search)
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Paul.Soltermann@vonroll-isola.com: "[HPADM] Antwort: RE: Howto remove control characters from a unix text fil e"
- Next in thread: vinod kumar: "[HPADM] Re: man output to a file"
- Reply: vinod kumar: "[HPADM] Re: man output to a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|