---
name: v7sh
version: 1.0
origin: shells/v7sh
comment: An implementation of the UNIX 7th Edition shell
arch: freebsd:9:x86:64
www: http://minnie.tuhs.org/UnixTree/V7/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 53643
desc: |
  The original Steve R. Bourne shell from the 7th edition Unix including
  System III, 4.3BSD-Reno, Ultrix 3.1 and ``home made'' fixes and enhancements :

  * `--' end of options added (sysIII). `set +x' and such added (sysIII).
    `/etc/bsh_profile' (sysIII) and `$HOME/.bsh_profile' (unsw) are
    sourced at login time if they exist.  Initially, only the `.profile'
    located in the current directory was sourced at login time if it
    exists.  They have been `bsh_' prefixed to avoid conflicts w/ the
    standards `profiles' which can contains unsupported expressions
    such as shell functions.  negation (! or ^) in `[]' added (sysIII).
    `${x:-x}' and similar expressions added (sysIII).  '<<-' (aka strip
    leading tab in here document) added (sysIII).  `#' comments are
    allowed in shell scripts (sysIII/reno), but not on the command line
    (reno) !  `break N' and `continue N' fixed (sysIII/ultrix).  `if...
    then... [elif... [else...]] fi' fixed (reno).  `test' (sysIII) and
    `ulimit' (ultrix) builtins added.
  * ANSI-fication to permit an almost warning free compilation (home made).
    `union trenod' taken from 4.3BSD-Reno.  better signal handling and
    error recovery (sysIII/reno).  better restricted shell (sysIII) and
    IFS protection (reno).
  * functions aren't supported and command line input is not 8 bit clean.

  WWW: http://minnie.tuhs.org/UnixTree/V7/
categories: [shells]
options: {RENO: on, SYSIII: on, ULTRIX: on}
files:
  /usr/local/bin/v7sh: bfdc29851ddd073d566d245b844c6da81ebee0fa5460f197058402b5ad25e76e
  /usr/local/man/man1/v7sh.1.gz: 968ccc86d9a14a2271ca8a1f3d99196ddf9c1b5d97b34ca5733b10b553b23aaa
scripts:
  post-install: |
    echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v /usr/local/bin/v7sh /etc/shells.bak; echo /usr/local/bin/v7sh) >/etc/shells
  pre-deinstall: |
    echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v /usr/local/bin/v7sh /etc/shells.bak) >/etc/shells
