Ethereal-dev: [Ethereal-dev] tethereal irritation

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: kem <kem2@xxxxxxx>
Date: Thu, 23 Jan 2003 14:48:29 -0500
Trying to run awk against the output from tethereal -V to pull selected fields out of a given frame. I am specifying the Field Separator as newline and the Record Separator as blank line:
BEGIN { FS = "\n"; RS = "" }
	{ print $1, $2, $3 }

The problem is there is an empty line before the data field on frames that have data. There does not seem to be any consistent end of frame text I can use as the RS.

Would it be possible to either remove the space from before the data field or put some end of record indicator at the end of the frame output?

Thanks
Kevin mason