Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site circadia.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!stolaf!umn-cs!circadia!dave From: dave@circadia.UUCP (David Messer) Newsgroups: net.unix,net.bugs Subject: Re: echo command always prints its arguments Message-ID: <145@circadia.UUCP> Date: Thu, 11-Apr-85 01:57:22 EST Article-I.D.: circadia.145 Posted: Thu Apr 11 01:57:22 1985 Date-Received: Sat, 13-Apr-85 03:03:48 EST References: <797@u1100a.UUCP> Organization: Quest Research Inc., Burnsville, MN Lines: 22 Xref: watmath net.unix:4216 net.bugs:602 > On every UNIX system I have ever used, there is no way to prevent > the echo command from printing its arguments. I would like to > propose a "-q" option to echo which tells it to be quiet and go about > its work without printing its arguments. Yes, this IS a major flaw in UNIX. I have often wanted to do this. Here is a shell script that I use and hope that you can also use: ------CUT------CUT------CUT------CUT------ #!sh for i in $* do case $i in -q) exit ;; esac done echo $* #:-) -- Dave Messer ...ihnp4!stolaf!umn-cs!circadia!dave