From owner-freebsd-current Sun Oct 25 06:22:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA16327 for freebsd-current-outgoing; Sun, 25 Oct 1998 06:22:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zone.syracuse.net (zone.syracuse.net [205.232.47.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA16317 for ; Sun, 25 Oct 1998 06:22:00 -0800 (PST) (envelope-from green@zone.syracuse.net) Received: from localhost (green@localhost) by zone.syracuse.net (8.8.8/8.8.7) with ESMTP id JAA21911; Sun, 25 Oct 1998 09:21:21 -0500 (EST) Date: Sun, 25 Oct 1998 09:21:20 -0500 (EST) From: Brian Feldman To: Studded cc: "Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?=" , current@FreeBSD.ORG Subject: Re: sh and ~ expansion In-Reply-To: <362B74B6.B9B256B4@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id GAA16319 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why don't we just use pdksh? It's even more compact than our current Bourne/partially-Korn shell, and has lots of great Korn shell features everyone loves but sh doesn't have. Cheers, Brian Feldman On Mon, 19 Oct 1998, Studded wrote: > "Dag-Erling C. Smørgrav" wrote: > > > > Why doesn't ~ expansion work in the following case: > > > > export GLORB=~ > > > > as it does in > > > > GLORB=~; export GLORB > > I've seen a couple of people complain about 'export foo=bar' causing > problems in our implementation of sh. I haven't looked at why it's a > problem but if it's any comfort, yes, it seems to be a bug. I've gotten > into the habit of using 'foo=bar; export foo' when using sh anyway since > it's more portable. > > Doug > -- > *** Chief Operations Officer, DALnet IRC network *** > > Go PADRES! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message