Subject: Re: bin/10898: Patch to arp to allow -f -
To: None <atatat@atatdot.net>
From: James Chacon <jchacon@genuity.net>
List: netbsd-bugs
Date: 08/27/2000 16:18:48
-f - is a standard convention for a lot of stuff already in the source tree.

Yes, /dev/stdin or /dev/fd could be used (if you've bothered to mount fdesc),
but in general is never going to be something folks will see as examples or
would think of. So, adding it in as an option as well just rounds things out.

James


>
>>>Description:
>>arp allows -f filename which is handy if you have multiple things to do
>>(for instance in a start-up script). However filename must be a real file
>>which makes creating pipelines a pain (temp files and all that).
>>A simple fix is to check for -f - and use stdin.
>
>the use of - to indicate stdin is a hack.  always was, and always will
>be.  don't get me wrong, i like it too, but there are other ways of
>doing the same thing these days.  did you try using /dev/fd/0 or
>/dev/stdin?
>
>-- 
>|-----< "CODE WARRIOR" >-----|
>codewarrior@daemon.org             * "ah!  i see you have the internet
>twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
>andrew@crossbar.com       * "information is power -- share the wealth."
>
>
>
>