[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Simple awk question



But I cannot find it in my awk book (O'Reilly's sed&awk).

I'm trying to make three columns out of a postfix mail log. Queue ID, From address, and remote server response for certain situations (it's already grepped down to that).

 awk '{print $7" "$6" "$17}'

$17 is the first word of the remote server response, I need to include everything from $17 onwards to the end of the line into the third field.

How do I specify that?

Thanks
--kj


Reply to: