Re: [OT] Text stream editing problem

2003-09-08 Thread Karsten M. Self
on Tue, Sep 09, 2003 at 07:57:28AM +0800, csj ([EMAIL PROTECTED]) wrote: > At Mon, 8 Sep 2003 11:41:17 +0100, > Karsten M. Self wrote: > > What it says is: substitute everything starting with the first > > space or tab, any character, the string (which is preserved) > > "/Subdirectory_", with a tab

Re: [OT] Text stream editing problem

2003-09-08 Thread csj
At Mon, 8 Sep 2003 11:41:17 +0100, Karsten M. Self wrote: > > [1 ] > on Mon, Sep 08, 2003 at 12:56:14PM +0800, csj ([EMAIL PROTECTED]) wrote: > > At Mon, 8 Sep 2003 01:58:43 +0100, > > Karsten M. Self wrote: > > > > > > [1 ] > > > on Mon, Sep 08, 2003 at 12:33:39AM +0800, csj ([EMAIL PROTECTED]

Re: [OT] Text stream editing problem

2003-09-08 Thread Karsten M. Self
on Mon, Sep 08, 2003 at 12:56:14PM +0800, csj ([EMAIL PROTECTED]) wrote: > At Mon, 8 Sep 2003 01:58:43 +0100, > Karsten M. Self wrote: > > > > [1 ] > > on Mon, Sep 08, 2003 at 12:33:39AM +0800, csj ([EMAIL PROTECTED]) wrote: > > > Let's say I want to write a script that can convert the > > > foll

Re: [OT] Text stream editing problem

2003-09-07 Thread csj
At Mon, 8 Sep 2003 01:58:43 +0100, Karsten M. Self wrote: > > [1 ] > on Mon, Sep 08, 2003 at 12:33:39AM +0800, csj ([EMAIL PROTECTED]) wrote: > > Let's say I want to write a script that can convert the > > following: > > > > A-0001 Directory_1/Subdirectory_1/File_1.txt > > A-0002 ./Direc

Re: [OT] Text stream editing problem

2003-09-07 Thread Karsten M. Self
on Mon, Sep 08, 2003 at 12:33:39AM +0800, csj ([EMAIL PROTECTED]) wrote: > Let's say I want to write a script that can convert the > following: > > A-0001 Directory_1/Subdirectory_1/File_1.txt > A-0002 ./Directory_2/Subdirectory_2/File_2.txt > A-0003 ./Directory_3/Subdirectory_3/Subdir

[OT] Text stream editing problem

2003-09-07 Thread csj
Let's say I want to write a script that can convert the following: A-0001 Directory_1/Subdirectory_1/File_1.txt A-0002 ./Directory_2/Subdirectory_2/File_2.txt A-0003 ./Directory_3/Subdirectory_3/Subdirectory_4/File_3.txt to: A-0001 /Subdirectory_1/File_1.txt A-0002 /Subdirect