Xref: utzoo comp.unix.wizards:19552 comp.unix.questions:18086 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!oliveb!tymix!cirrusl!dhesi%cirrusl From: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Question about GETOPT(3) Message-ID: <1143@cirrusl.UUCP> Date: 1 Dec 89 02:13:56 GMT References: <7043@ficc.uu.net> <110@amix.commodore.com> <7077@ficc.uu.net> <118@amix.commodore.com> Sender: news@cirrusl.UUCP Reply-To: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Organization: Cirrus Logic Inc. Lines: 22 In article <118@amix.commodore.com> ag@amix.commodore.com (Keith Gabryelski) writes: >Should we break this >because some people can't put > > S=/dev/stdin;export S > >in their .profile? Some of you are being rather presumptuous when discussing the topic of /dev/stdin vs "-". The existence of getopt allows C programs to accept arguments in a consistent way across many OSes, not just UNIX. The idea of "use standard input here" is also portable across many OSes. The idea of using "-" to mean "standard input" is also portable across many OSes. The idea of /dev/stdin is NOT. Rahul Dhesi UUCP: oliveb!cirrusl!dhesi