From owner-freebsd-bugs Tue Apr 29 01:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA05194 for bugs-outgoing; Tue, 29 Apr 1997 01:40:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA05182; Tue, 29 Apr 1997 01:40:01 -0700 (PDT) Date: Tue, 29 Apr 1997 01:40:01 -0700 (PDT) Message-Id: <199704290840.BAA05182@hub.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: bin/3387: sh mis-interpret the file name / awk failure Reply-To: Bill Fenner Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3387; it has been noted by GNATS. From: Bill Fenner To: John-Mark Gurney Cc: "Jin Guojun[ITG]" , fenner@parc.xerox.com, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/3387: sh mis-interpret the file name / awk failure Date: Tue, 29 Apr 1997 01:29:48 PDT John-Mark Gurney wrote: >what I wouldn't object to is another flag that strips that white space >from around the fields... Like "-F'[ /]'" as Joerg suggested? sundae% uname -v | awk -F'[ /]' '{printf ">>" $(NF-1) "<<"}' >>SUNDAE<