[ILUG] FW: Quick perl q
Stephen Shirley
diamond at skynet.ie
Thu Oct 31 16:17:07 GMT 2002
On Thu, Oct 31, 2002 at 03:22:32PM -0000, Breathnach, Proinnsias (Dublin) wrote:
> > I've a file on multiple lines, looks like :
> >
> > {header{first_record}
> > {second record{sub
> > record on second record}}}
> >
> > I'd like to do something like
> >
> {
> header{
> first_record}{
> second record{
> sub record on second record}}}
sed 's/{/{\
/g;s/}/\
}/g'
?
Steve
--
"Oh look, it's the Pigeon of Love."
More information about the ILUG
mailing list