Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 1997 05:17:39 -0600
From:      Richard Wackerbarth <rkw@dataplex.net>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Why doesn't /bin/echo use getopt?
Message-ID:  <l03110701b08b4c1e60fd@[208.2.87.4]>
In-Reply-To: <19971109115007.JB56482@uriah.heep.sax.de>
References:  <19971108175832.31362@jraynard.demon.co.uk>; from James Raynard on Nov 8, 1997 17:58:32 %2B0000 <25358.879002601@axl.iafrica.com> <19971108175832.31362@jraynard.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:50 AM -0600 11/9/97, J Wunsch wrote:
>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)?

echo -n "-n\
"

Richard Wackerbarth





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03110701b08b4c1e60fd>