Re: pattern printing
From: Carlos J. G. Duarte (cjgd_at_clix.pt)
Date: 02/17/04
- Next message: Carlos J. G. Duarte: "Re: sed help"
- Previous message: Carlos J. G. Duarte: "Re: Any website ot ftp where I can see a lot of examples of scripts with explanations, specially to use string and file manipulation techniques"
- In reply to: Lalit: "pattern printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 17 Feb 2004 12:52:29 +0000
Lalit wrote:
> My Files stored the lines in following Pattern
>
> Pattern1
> Pattern2
> Pattern3
>
>
> I want the output in following manner :
>
> pattern1 | pattern2 |pattern3
sed 'N;N;s/\n/ | /g'
(not tested)
-- carlos ** http://cgd.sdf-eu.org
- Next message: Carlos J. G. Duarte: "Re: sed help"
- Previous message: Carlos J. G. Duarte: "Re: Any website ot ftp where I can see a lot of examples of scripts with explanations, specially to use string and file manipulation techniques"
- In reply to: Lalit: "pattern printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|