Re: OT: a problem about text manipulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux