From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 19 Jun 2007 11:09:30 -0700 From: Roman Shaposhnick Subject: Re: [9fans] equivalent of fstat | grep $portnumber ? In-reply-to: <20070619173818.GD67517@kris.home> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-id: <1182276570.25089.53.camel@work.sfbay.sun.com> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT References: <20070619152735.GB6960@pestilenz.org> <20070619161347.GA67517@kris.home> <14ec7b180706190917j3d1f2edbt68ef2c8d5df9f8cc@mail.gmail.com> <20070619164902.GB67517@kris.home> <14ec7b180706190953x7a25471crbad6ec13e9763960@mail.gmail.com> <20070619165749.GC67517@kris.home> <14ec7b180706191016w6062421am906a8578cd62be12@mail.gmail.com> <20070619173818.GD67517@kris.home> Topicbox-Message-UUID: 81e9cf26-ead2-11e9-9d60-3106f5b1d025 On Tue, 2007-06-19 at 13:38 -0400, Kris Maglione wrote: > The other problems you mentioned seem trivial. Redirecting greps stderr > to /dev/null solves the second 2. There are a number of simple ways to > solve the first. What about the race? That's always been one of my personal pet peeves as far as any shell programming goes. Thanks, Roman.