5

Shell script that will print formatted fields of a column

view full story
linux-howto

http://unix.stackexchange.com – A file is setup as follows: Animal Number DOB Gender Breed Date-moved-in IE161289240602 04/02/2010 M AAX 20/07/2011 IE141424420333 13/01/2010 M LMX 21/09/2010 IE152346792545 19/01/2007 F LMX 20/08/2010 IE141665860266 26/04/2008 M CHX 18/10/2010 IE151665770597 27/04/2010 F AA 11/04/2011 IE151676050636 02/02/2008 M HEX 04/12/2010 IE161748260472 13/04/2010 F FR 04//10/2011 IE141804440367 14/04/2010 M AAX 18/06/2009 IE1510 (HowTos)