Date: Mon, 26 Jun 2000 15:22:58 -0700 From: Matthew Hunt <mph@astro.caltech.edu> To: Ben Smithurst <ben@scientia.demon.co.uk> Cc: Mark Ovens <mark@dogma.freebsd-uk.eu.org>, questions@FreeBSD.ORG Subject: Re: Question about echo(1) Message-ID: <20000626152258.A64415@wopr.caltech.edu> In-Reply-To: <20000626231021.H57917@strontium.scientia.demon.co.uk>; from ben@scientia.demon.co.uk on Mon, Jun 26, 2000 at 11:10:21PM %2B0100 References: <20000626222417.J232@parish> <20000626231021.H57917@strontium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
On Mon, Jun 26, 2000 at 11:10:21PM +0100, Ben Smithurst wrote:
> but in sh they both just print "\a".
You chose poorly. :-)
For some reason, it doesn't know about \a.
case 'b': c =3D '\b'; break;
case 'c': return 0; /* exit */
case 'f': c =3D '\f'; break;
case 'n': c =3D '\n'; break;
case 'r': c =3D '\r'; break;
case 't': c =3D '\t'; break;
case 'v': c =3D '\v'; break;
case '\\': break; /* c =3D '\=
\' */
case '0':
=2E..
Is this a bug?
--=20
Matthew Hunt <mph@astro.caltech.edu> * Stay close to the Vorlon.
http://www.pobox.com/~mph/ *
--cNdxnHkX5QqsyA0e
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: OMwjHGZH27ZnvObD0elfJpIUj2z7Xla2
iQCVAwUBOVfXwKcxRqZnIDNJAQH3ZgP8DRuwaxgzJi0Wj0VO67OZOMcop3JLClY8
7TVPOyQm2I8fc0zlMHgmt2fq0gD4OA+xXNMcbCyMJDGt4B41MZI97POodSlFoDRV
5xDCnVoAqUYkpSzbfL8mHqpV/MFVmi5CRcQjICPiinl4O3GIP7D+4vGiXP9yfT0x
q+OjJLnHAuw=
=eGLn
-----END PGP SIGNATURE-----
--cNdxnHkX5QqsyA0e--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626152258.A64415>
