Re: OT : perl to do this?

2000-03-03 Thread Alan Mead
Back in the old DOS days I coded some PCX routines in which I learned to lead with the escape character to make the decompress logic easier. So "BCCCDD" would become "!A4B!C3DD". If the data literally had this structure, you could compress further by using a numeral as the escape (and sa

Re: [REDHAT] Re: OT : perl to do this?

2000-03-03 Thread David Kramer
On Fri, 3 Mar 2000, Bret Hughes wrote: > looks like compression to me and DD < D!2 > > :) > > Bret > > Brian wrote: > > > > On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > > > > > Hi, > > > > > > Suppose I have a string of "BCCCDD" > > > And I wanna use perl to convert this to A!4BC!

Re: OT : perl to do this?

2000-03-03 Thread Bret Hughes
looks like compression to me and DD < D!2 :) Bret Brian wrote: > > On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > > > Hi, > > > > Suppose I have a string of "BCCCDD" > > And I wanna use perl to convert this to A!4BC!3DD > > what should I do ? > > Is there a ready function (grep???) t

Re: OT : perl to do this?

2000-03-02 Thread Brian
On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > Hi, > > Suppose I have a string of "BCCCDD" > And I wanna use perl to convert this to A!4BC!3DD > what should I do ? > Is there a ready function (grep???) to achieve this ? yes perl can do this. their is no built in function to just magic

OT : perl to do this?

2000-03-02 Thread ::--Koshy Kerteya--~!~
Hi, Suppose I have a string of "BCCCDD" And I wanna use perl to convert this to A!4BC!3DD what should I do ? Is there a ready function (grep???) to achieve this ? Thanks for any help on this!! -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.