Date: Sun, 9 Nov 1997 03:45:31 -0800 From: John-Mark Gurney <gurney_j@efn.org> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Why doesn't /bin/echo use getopt? Message-ID: <19971109034531.63922@hydrogen.nike.efn.org> In-Reply-To: <19971109115007.JB56482@uriah.heep.sax.de>; from J Wunsch on Sun, Nov 09, 1997 at 11:50:07AM %2B0100 References: <25358.879002601@axl.iafrica.com> <19971108175832.31362@jraynard.demon.co.uk> <19971109115007.JB56482@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch scribbled this message on Nov 9: > As James Raynard wrote: > > > Because it's supposed to repeat its arguments instead of parse them? > > (with the exception of -n, of course). > > Tough question: how do you echo a "-n\n" then (without using > printf(1), of course)? why not: echo -n "-n " hexdump: 0000000 6e2d 000a 0000003 :) -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971109034531.63922>