[buug] parsing a file
john at jjdev.com
Fri Dec 21 14:38:14 PST 2001
I have a transaction file...plain text.
the first two lines I want excluded from the parsing (they are not
I need to know about each line where the 6th field is '0' and the delimiter
the first two lines don't have any delimiter characters, so if it would simplify
things just to say parse lines that are delimitted, that would be ok. (cut
has a flag for that)
I came up with:
cat trans | cut -d : -f 7 -s
I'm thinking there's away to do it with some combo of standard commandline
tools...else I'll just make a little script.
the file looks like:
More information about the buug