diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-02 09:34:11 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-01-02 09:34:11 +0000 |
commit | 0555228bc967253747ca2cf16ec3a10143710171 (patch) | |
tree | c9f6bfb4bd518409d0c7192c841aaa45e534f08c /bin/ksh/sh.h | |
parent | 5ec8bf97eb61afe45e84d47458c3c9cbfa46fc51 (diff) |
Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:
don't set $_ if we're non-interactive.
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r-- | bin/ksh/sh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h index 9ae4ffb190c..588abd2c18e 100644 --- a/bin/ksh/sh.h +++ b/bin/ksh/sh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sh.h,v 1.4 1996/12/18 18:28:37 niklas Exp $ */ +/* $OpenBSD: sh.h,v 1.5 1997/01/02 09:34:10 downsj Exp $ */ /* * Public Domain Bourne/Korn shell @@ -472,6 +472,7 @@ enum sh_flag { FPOSIX, /* -o posix: be posixly correct */ FPRIVILEGED, /* -p: use suid_profile */ FRESTRICTED, /* -r: restricted shell */ + FSH, /* -o sh: favor sh behavour */ FSTDIN, /* -s: (invocation) parse stdin */ FTRACKALL, /* -h: create tracked aliases for all commands */ FVERBOSE, /* -v: echo input */ |