From owner-freebsd-questions Mon Jun 26 15:24:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.102.114]) by hub.freebsd.org (Postfix) with ESMTP id 26ED237BCB0 for ; Mon, 26 Jun 2000 15:24:19 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.3/8.9.3) id PAA64770; Mon, 26 Jun 2000 15:22:58 -0700 (PDT) (envelope-from mph) Date: Mon, 26 Jun 2000 15:22:58 -0700 From: Matthew Hunt To: Ben Smithurst Cc: Mark Ovens , questions@FreeBSD.ORG Subject: Re: Question about echo(1) Message-ID: <20000626152258.A64415@wopr.caltech.edu> References: <20000626222417.J232@parish> <20000626231021.H57917@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" X-Mailer: Mutt 1.0i 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 +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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 * 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