From owner-freebsd-stable Fri Nov 16 22:28: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by hub.freebsd.org (Postfix) with SMTP id 82B7937B416 for ; Fri, 16 Nov 2001 22:28:01 -0800 (PST) Received: (qmail 57168 invoked by uid 1001); 17 Nov 2001 16:27:59 +1000 X-Posted-By: GJB-Post 2.22 07-Nov-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Message-Id: Date: Sat, 17 Nov 2001 16:27:58 +1000 From: Greg Black Mail-Followup-To: stable@freebsd.org To: Eugene Grosbein Cc: stable@freebsd.org Subject: Re: compiling /bin/sh with builtin 'test' References: <20011117012056.A320@grosbein.pp.ru> In-reply-to: <20011117012056.A320@grosbein.pp.ru> of Sat, 17 Nov 2001 01:20:56 +0700 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene Grosbein wrote: | So I'm thinking about recompiling /bin/sh with 'test' as builtin. | Perhaps, I could grab sources of /bin/sh from recent STABLE. | I did that for date(1) (I needed 'date -j' that does not work for 4.0) | and new 'date' works fine. Btw, I cannot just upgrade machine for | some extraneous reasons. | | Did somebody try that? Any caveats? | It is remote production system and I'm afraid if this will render my system | unbootable, it will be very black day for me. Just try it. Install it with a different name and test it out. When you're happy with it, install it as /bin/sh. Easy peasy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message