[OT] Does "~" always point to $HOME?

Joerg Pernfuss jp at bsdgroup.de
Fri Jan 26 15:26:19 UTC 2007


On Fri, 26 Jan 2007 15:21:14 +0100
Karol Kwiatkowski <karol.kwiat at gmail.com> 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.    |


More information about the freebsd-questions mailing list