[KLUG Members] Parsing a Text file

Bruce Smith bruce at armintl.com
Wed Jul 20 10:51:36 EDT 2005


> Hello all.. I was wondering what is the best way to Parse a fixed length
> text file in linux.. I have a file that is 900 Characters long and needs to
> be broken out into a comma or tab delimited file so I can then import it
> into another database application. The application does not handle fixed
> length files with no delimiters... For those of you in schools you may have
> something since this is a State SRSD file that I need to Parse.. but just
> wondering what I should use. 

The shell program "cut" might do the job for you.

 - BS




More information about the Members mailing list