You're viewing a comment by Joe B and its responses.

Joe B Permalink
June 10, 2011, 18:45

Very useful article and comments!

I have my own awk dilemma...

I'm trying to identify (and print) records from a file where the 15th & 16th bytes of a record = '02'. I've been searching for a solution but it appears most awk commands of this type reference a field $1, $2, etc.

Any ideas on how to write this? The file contains several layouts and for these specific records they are fixed length.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.