From owner-freebsd-current Sun Oct 25 08:40:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25260 for freebsd-current-outgoing; Sun, 25 Oct 1998 08:40:07 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dns.webwizard.net.mx (dns.webwizard.com.mx [148.245.50.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25253 for ; Sun, 25 Oct 1998 08:40:03 -0800 (PST) (envelope-from eculp@webwizard.org.mx) Received: from webwizard.org.mx (dns.webwizard.com.mx [148.245.50.27]) by dns.webwizard.net.mx (8.9.1/8.9.1) with ESMTP id KAA05408; Sun, 25 Oct 1998 10:36:59 -0600 (CST) (envelope-from eculp@webwizard.org.mx) Message-ID: <363353AB.BCE48ADC@webwizard.org.mx> Date: Sun, 25 Oct 1998 10:36:59 -0600 From: Edwin Culp X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Brian Feldman CC: Chuck Robey , Studded , "Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?=" , current@FreeBSD.ORG Subject: Re: sh and ~ expansion References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Feldman wrote: > IIRC, OpenBSD uses it... Anyway, by definition, the Korn shell is a > superset of the Bourne shell, so it's entirely backward-compatible. In > fact, I'll let you know in a few minutes, I'll replace /bin/sh with > /bin/ksh, reboot, and see how all the rc initialization works. I expect it > to work completely correctly, so if it doesn't, I'll be surprised :) So of > course, it should be 100% compatible, but I'll try a reboot with ksh in > place of sh, and I'll try a make world with ksh instead. More later. > > Cheers, > Brian Feldman > > P.S: NO, this is _nothing_ like Linux using BASH. BASH is horrible :P > > On Sun, 25 Oct 1998, Chuck Robey wrote: > > > On Sun, 25 Oct 1998, Brian Feldman wrote: > > > > > 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. > > > > Not being a pdksh user, well, I know YOU are aware of the importance of > > not breaking ANY sh scripts for users, whether they're part of our base > > or not, because sh is the shell everyone writes in for portability, and > > it mustn't ever be broken ... so, is pdksh 100% compatible with sh, at > > least upwardly? I mean wth NO changes to ANY sh script? > > > > Do buildworlds complete, with pdksh in place as the shell, instead of > > sh? > > > > I'm not against this per se, but those are pretty important hurdles to > > go over, and I'm wary. Give us a lecture on it. Making this change > > would be neat, if it's truly possible. > > I've been using pdksh for more than three years, first on Linux and then FreeBSD. I haven't even had a /bin/sh or much less bash in a passwd file for several years and haven't had a problem. I make world almost every day, make release about once a week, etc. saludos ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message