extracting "rest of line" in AWK

Gunter Steinbach steinbac at hpl-opus.HP.COM
Sat Aug 26 09:01:53 AEST 1989


How about      '{$1=$2=""; print}'  ?

Yes, I admit you get two extra field separators before the "rest".

        Guenter Steinbach                | hplabs!hpl-opus!gunter
                                         | gunter%hpl-opus at hp-sde.hp.com



More information about the Comp.unix.questions mailing list