From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 Oct 2009 21:45:58 -0500 Message-ID: <3df301650910231945n522c4592ib25cef16e9830202@mail.gmail.com> From: michael block To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Plan9 awk vs. GNU awk Topicbox-Message-UUID: 8f60f24e-ead5-11e9-9d60-3106f5b1d025 try using [_a-zA-Z][_a-zA-Z0-9] rather than the expanded form. i didn't track it down to be sure, but plan 9 awk seem to have a limit 34 characters inside square brackets. a rather odd number cpu% echo hello | awk '/^[abcdefghijklmnopqrstuvwxyzABCDEFGH].+/ { line = $0 ; print line }' cpu% echo hello | awk '/^[abcdefghijklmnopqrstuvwxyzABCDEFG].+/ { line = $0 ; print line }' hello