[SOLVED] Re: matching escape string , doesn't work ?

2010-07-05 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 07:18 PM, William Boshuck wrote: > On Mon, Jul 05, 2010 at 12:42:51PM +0200, Bret S. Lambert wrote: >> On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Hi, >>>

[SOLVED] Re: matching escape string , doesn't work ?

2010-07-05 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 07:18 PM, Otto Moerbeek wrote: > On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> echo %A3 | sed 's/(%[0-9A-Z]{2})//g' >> >> I'd like %A3 like strin

Re: matching escape string , doesn't work ?

2010-07-05 Thread William Boshuck
On Mon, Jul 05, 2010 at 12:42:51PM +0200, Bret S. Lambert wrote: > On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi, > > echo %A3 | sed 's/(%[0-9A-Z]{2})//g' > > > > I'd like %A3 like string to be removed , what'

Re: matching escape string , doesn't work ?

2010-07-05 Thread Otto Moerbeek
On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > echo %A3 | sed 's/(%[0-9A-Z]{2})//g' > > I'd like %A3 like string to be removed , what's wrong with my script ? sed uses basic re's by default. Gnu sed implements

[SOLVED] Re: matching escape string , doesn't work ?

2010-07-05 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 06:42 PM, Bret S. Lambert wrote: > sed 's/%[0-9A-Z][0-9A-Z]//g' Thanks , and same for VIM. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: U

Re: matching escape string , doesn't work ?

2010-07-05 Thread Bret S. Lambert
On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > echo %A3 | sed 's/(%[0-9A-Z]{2})//g' > > I'd like %A3 like string to be removed , what's wrong with my script ? > According to the sed manpage, it doesn't use {}

matching escape string , doesn't work ?

2010-07-05 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? Thanks. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A