From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 19 Nov 2009 11:17:54 +0100 Message-ID: From: "Peter A. Cejchan" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Q: awk omit cols Topicbox-Message-UUID: 9d765374-ead5-11e9-9d60-3106f5b1d025 On Thu, Nov 19, 2009 at 9:52 AM, Russ Cox wrote: > awk '{print substr($0, 1+length($1)+1)}' > Big thank you, Russ, however, wouldn't it be smarter if we had some kind of 'not' operator here...? Sometimes, especially when you write the script by hand it is easier to delete few fields than to explicitly write out all those remaining... IMHO... ++pac