[HPADM] RE: Script Question

From: Toni Heinonen (Toni.Heinonen@teleware.fi)
Date: Wed May 19 2004 - 02:36:54 EDT


> Hi Admins

Hello!
 
> I have a file with file names delimeted by : like
>
> abc.txt:efg.txt:hij.txt
>
> now I want to make a new file using the above file
>
> abc.txt
> efg.txt
> hij.txt

cat oldfile | tr ':' '\n' > newfile

--
             ---> 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:41 EDT