From owner-freebsd-questions@FreeBSD.ORG Fri Jan 26 22:51:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F400C16A400 for ; Fri, 26 Jan 2007 22:51:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id D281513C46E for ; Fri, 26 Jan 2007 22:51:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn07.u.washington.edu (hymn07.u.washington.edu [140.142.8.53]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0QMpRXN017660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Jan 2007 14:51:27 -0800 Received: from localhost (localhost [127.0.0.1]) by hymn07.u.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0QMpRlj021662 for ; Fri, 26 Jan 2007 14:51:27 -0800 X-Auth-Received: from [192.55.52.4] by hymn07.u.washington.edu via HTTP; Fri, 26 Jan 2007 14:51:27 PST Date: Fri, 26 Jan 2007 14:51:27 -0800 (PST) From: youshi10@u.washington.edu To: freebsd-questions@freebsd.org In-Reply-To: <20070126160107.0e5c8646@loki.starkstrom.lan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.26.143933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, NO_REAL_NAME 0, __CP_NOT_1 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: [OT] Does "~" always point to $HOME? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 22:51:28 -0000 On Fri, 26 Jan 2007, Joerg Pernfuss wrote: > On Fri, 26 Jan 2007 15:21:14 +0100 > Karol Kwiatkowski wrote: > >>> While that's true for most shells, bash, csh, tcsh, etc., it >>> doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer >>> 5.0.6a and earlier and probably others with Bell Labs ancestors). >> >> Not sure what I'm missing, is FreeBSD's /bin/sh shell not "true" >> Bourne Shell? Was it extended in some way from traditional one? > > FreeBSD /bin/sh is actually an ash, which roughly translates into > a POSIX shell with a few additions that do not break compatibility. > At least that is how I understood it. > > Joerg > -- > | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | > | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | > | X HTML in email | .the next sentence is true. | > | / \ and news | .the previous sentence was a lie. | > > -- > | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | > | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | > | X HTML in email | .the next sentence is true. | > | / \ and news | .the previous sentence was a lie. | Unfortunately the target system (now) for the documentation is suse Linux, and I don't have any control over what the company chooses for its Unix OS in the future. So to reduce rewriting the documentation in the future I thought it'd be better to seek out the common denominator in Unix shells. Besides, if people are smart enough (and most people are here), they can translate $HOME to ~ :). -Garrett