On Tue, Jan 06, 2004 at 01:45:04PM +1030, Malcolm Kay wrote:
> On Tue, 6 Jan 2004 12:50, Gautam Gopalakrishnan wrote:
> > On Tue, Jan 06, 2004 at 12:30:42PM +1030, Malcolm Kay wrote:
> > > On Mon, 5 Jan 2004 22:19, Zhang Weiwu wrote:
> > > > Hello. I've worked an hour to figure out a serial of sed
On Tue, 6 Jan 2004 12:50, Gautam Gopalakrishnan wrote:
> On Tue, Jan 06, 2004 at 12:30:42PM +1030, Malcolm Kay wrote:
> > On Mon, 5 Jan 2004 22:19, Zhang Weiwu wrote:
> > > Hello. I've worked an hour to figure out a serial of sed command to
> > > process some text (without any luck, you kown I'm ki
On Tue, Jan 06, 2004 at 01:24:38PM +1100, Gautam Gopalakrishnan wrote:
> On Tue, Jan 06, 2004 at 01:20:52PM +1100, Gautam Gopalakrishnan wrote:
> > I think awk is easier:
> >
> > awk '{print $2 " " $3 " " $1}' original | tr -s > target
>
> Sorry, that must read:
> awk '{print $2 " " $3 " " $1}'
On Tue, Jan 06, 2004 at 01:20:52PM +1100, Gautam Gopalakrishnan wrote:
> I think awk is easier:
>
> awk '{print $2 " " $3 " " $1}' original | tr -s > target
Sorry, that must read:
awk '{print $2 " " $3 " " $1}' original | tr -s ' ' > target
___
[EMAIL
On Tue, Jan 06, 2004 at 12:30:42PM +1030, Malcolm Kay wrote:
> On Mon, 5 Jan 2004 22:19, Zhang Weiwu wrote:
> > Hello. I've worked an hour to figure out a serial of sed command to process
> > some text (without any luck, you kown I'm kinda newbie). I really
> > appreciate your help.
> >
> > The ori
On Mon, 5 Jan 2004 22:19, Zhang Weiwu wrote:
> Hello. I've worked an hour to figure out a serial of sed command to process
> some text (without any luck, you kown I'm kinda newbie). I really
> appreciate your help.
>
> The original text file is in this form -- for each line:
> one Chinese word then
On Mon, Jan 05, 2004 at 07:49:43PM +0800, Zhang Weiwu wrote:
> Hello. I've worked an hour to figure out a serial of sed command to process
> some text (without any luck, you kown I'm kinda newbie). I really
> appreciate your help.
>
> The original text file is in this form -- for each line:
> on
Hello. I've worked an hour to figure out a serial of sed command to process
some text (without any luck, you kown I'm kinda newbie). I really
appreciate your help.
The original text file is in this form -- for each line:
one Chinese word then one or two English word seperated by space.
I wish to