Date: Wed, 14 Feb 96 18:58:33 PST From: Ben Jackson <bjj@sequent.com> To: Michael Smith <msmith@atrad.adelaide.edu.au> Cc: muir@idiom.com (David Muir Sharnoff), freebsd-hackers@FreeBSD.org Subject: minor nit (was: An ISP's Wishlist... ) Message-ID: <199602150258.SAA10030@eng4.sequent.com> In-Reply-To: Your message of "Thu, 15 Feb 96 10:37:05 %2B1030." <199602150007.KAA18935@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199602150007.KAA18935@genesis.atrad.adelaide.edu.au> , you wrote: > Wrap it in a tiny shellscript : > > while [ 1 ]; do > named $* > done This particular construct is one of my pet peeves. The arguments get resplit, so when you run the script with "foo bar" it becomes two words on the named command line. The idiom for doing this correctly is: named "$@" And while I'm here I'd suggest `while :' for infinte loops. :-) -- Ben Jackson ben@ben.com http://www.ben.com/~ben/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602150258.SAA10030>