Oops, I accidentally didn't do it to the list originally...

tethereal -x | \
gawk -F "  " '{if (length($1) == 4) print $2; else print $0}'

"Singer, Geoffrey" wrote:

> Jason.  I see your idea but I cant get that command to work right.   I
> have been looking at awk, sed, gawk this whole day playing around with
> it.  Still I don't know how your command worked and mine didn't.
>
> I will continue to play around with it...
>
> Thanks for the input

I don't know why it wouldn't work for you...  I tested it with cygwin.  Are
you running this from the command line, or is it in some kind of script?  I
believe that if it is in a script the $1, $2 and $0 will get
reinterpreted...



Reply via email to