From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 10 Mar 2007 12:30:30 -0500 From: Kris Maglione To: 9fans@cse.psu.edu Subject: Re: [9fans] How can I shift a variable other than ? Message-ID: <20070310173030.GG12719@kris.home> References: <00a0d91965e54a4bfb03ea9070ed2e8b@coraid.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JbKQpFqZXJ2T76Sg" Content-Disposition: inline In-Reply-To: <00a0d91965e54a4bfb03ea9070ed2e8b@coraid.com> User-Agent: Mutt/1.5.13 (2006-08-11) Topicbox-Message-UUID: 1f37e52a-ead2-11e9-9d60-3106f5b1d025 --JbKQpFqZXJ2T76Sg Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2007 at 07:32:30AM -0500, erik quanstrom wrote: >> The problem is that then new scrips wouldn't be portable. >ya. right. is this this the same reason i should check my c code >with the johnson c compiler (being very careful to not use function >prototypes) to make sure it works everwhere? I never suggest such things. >and now that we've thought of it, we can't fix any rc bugs. since >scripts that rely on fixed bugs won't run everwhere. > >c'mon. what kind of dusty-deck thinking is this? The difference here is that there has always been one rc (ignoring the=20 UNIX version, which is gratuitously incompatible), unlike the bourne=20 shells. One of the great things about it has always been that you could=20 write rc scripts and know that they'd work on rc wherever they were run.=20 If you start extending the spec, then things start to suck, truly. >doesn't run on plan 9. it's written in limbo and depends on >features of inferno that are not part of plan 9. It runs on Inferno, which runs on Plan 9. You can script for Plan 9 in=20 Inferno's sh. You can even script for UNIX in it. I've done both. It=20 works. It's not even ugly. At any rate, someone might write a new shell which is neither es nor=20 Inferno's shell, which is designed to run on Plan 9. I'd still rather=20 just use Inferno's shell, myself. --=20 Kris Maglione A fool and his money soon go partying. --JbKQpFqZXJ2T76Sg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF8us2seQZD8Aui4wRAgI3AJoCQxIO/lfUui2d2EMS6+gst2R31ACeK3ca mDVAkqBJ1LWcP/TuyKe/1wI= =y9A1 -----END PGP SIGNATURE----- --JbKQpFqZXJ2T76Sg--