Re: OT: a problem about text manipulation
- From: Joe Klemmer <klemmerj@xxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 09:44:50 -0500
On Tue, 2006-10-31 at 11:58 +0000, Paul Smith wrote:
cat ./test.txt | awk '{print $1" "$2; print $1" "$3; print $1" "$4}' | grep
-v ' $'
Thanks for all suggestions.
Yakov: can your solution be adapted to the conversion from
1 E E E
2 C D
6
3 B E D
4 C E D
5 D E
to
1 E
1 E
1 E
2 C
2 D
6
3 B
3 E
3 D
4 C
4 E
4 D
5 D
5 E
Add a pipe to sort on the end of the line.
--
Boring Home Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other interesting junk
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- OT: a problem about text manipulation
- From: Paul Smith
- Re: OT: a problem about text manipulation
- From: Yakov Hrebtov
- Re: OT: a problem about text manipulation
- From: Paul Smith
- OT: a problem about text manipulation
- Prev by Date: Re: yum prob on lappy
- Next by Date: Re: yum prob on lappy
- Previous by thread: Re: OT: a problem about text manipulation
- Next by thread: Re: OT: a problem about text manipulation
- Index(es):
Relevant Pages
- Re: Man hurt using gun to change tyre
... conversion hopelessly wrong in each case; ... sane neighbours have a chance
of getting the guns off them. ... I suspect that the people in the armed services
are by and large 'pro gun' ... people of that sort - except, of course, in the 1960s the
army disliked ... (uk.people.support.depression) - Re: Sorting EBCDIC
... the source system is an IBM mainframe that is ... CH> But a descending
sort in Perl will put them in this order: ... use the unix dd utility to do ebcdic/ascii
conversion. ... (comp.lang.perl.misc) - Re: Is there a LaTeX FAQ template?
... my faq.cls/faq.sty combination works (in a sort of sense) for the ... and the
latex->html conversion was done by alan jeffrey). ... you think it is hard to convert
the FAQ to a more accessible format? ... (comp.text.tex) - Re: Christmas label printing
... Tree or a Santa which I downloaded years ago from the net, ... Others have made
suggestions regarding memory, conversion to JPEG, ... what you are doing is exactly the
sort of thing that LaBella ... problem with the RISC OS Postscript 2 driver. ...
(comp.sys.acorn.misc) - Re: building trailer axles
... play than the .015" listed in your post). ... sort of shimming or massive
plug welds to accommodate the misfit. ... make the spindles to fit commonly available pipe
or tubing. ... (rec.crafts.metalworking)