[HPADM] vi question

From: Hustert Klaus-CKH035 (Klaus.Hustert@motorola.com)
Date: Thu Apr 24 2003 - 07:59:55 EDT


Hi folks,
I have a data stream and have to replace the form feed (^L; ASCII 12) with another symbol.
My script looks like:

vi xxx <<EOF1
:%s/^M//g # I know I have to press ctrl+v in insert mode
            # and than the carrage return key to get the ^M
:%s/^L//g # ,but how can I get the ^L ???
:wq!
EOF1

Thanks in advance for advice.

Klaus

--
             ---> 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)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:29 EDT