2002-07-17 14:10:11 +00:00
|
|
|
./shopt.tests: line 2: shopt: -z: invalid option
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt: usage: shopt [-pqsu] [-o] [optname ...]
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u autocd
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u cdable_vars
|
|
|
|
|
shopt -s cdspell
|
|
|
|
|
shopt -u checkhash
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u checkjobs
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u checkwinsize
|
|
|
|
|
shopt -s cmdhist
|
2008-11-18 13:15:12 +00:00
|
|
|
shopt -u compat31
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u compat32
|
2011-11-21 20:51:19 -05:00
|
|
|
shopt -u compat40
|
2011-11-22 19:11:26 -05:00
|
|
|
shopt -u compat41
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -u compat42
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u compat43
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -s complete_fullquote
|
2012-05-31 15:11:45 -04:00
|
|
|
shopt -u direxpand
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u dirspell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u dotglob
|
|
|
|
|
shopt -u execfail
|
|
|
|
|
shopt -s expand_aliases
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -u extdebug
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u extglob
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -s extquote
|
|
|
|
|
shopt -u failglob
|
|
|
|
|
shopt -s force_fignore
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -u globasciiranges
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u globstar
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -u gnu_errfmt
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u histappend
|
2005-12-07 14:08:12 +00:00
|
|
|
shopt -u histreedit
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u histverify
|
|
|
|
|
shopt -s hostcomplete
|
|
|
|
|
shopt -u huponexit
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u inherit_errexit
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -s interactive_comments
|
2011-11-22 19:11:26 -05:00
|
|
|
shopt -u lastpipe
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u lithist
|
2001-11-13 17:56:06 +00:00
|
|
|
shopt -u login_shell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u mailwarn
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -u no_empty_cmd_completion
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u nocaseglob
|
2005-12-07 14:08:12 +00:00
|
|
|
shopt -u nocasematch
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u nullglob
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -s progcomp
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -s promptvars
|
1999-02-19 17:11:39 +00:00
|
|
|
shopt -u restricted_shell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u shift_verbose
|
|
|
|
|
shopt -s sourcepath
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -u xpg_echo
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
shopt -u huponexit
|
|
|
|
|
shopt -u checkwinsize
|
|
|
|
|
shopt -s sourcepath
|
|
|
|
|
--
|
|
|
|
|
shopt -s cdspell
|
|
|
|
|
shopt -s cmdhist
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -s complete_fullquote
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -s expand_aliases
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -s extquote
|
|
|
|
|
shopt -s force_fignore
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -s hostcomplete
|
|
|
|
|
shopt -s interactive_comments
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -s progcomp
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -s promptvars
|
|
|
|
|
shopt -s sourcepath
|
|
|
|
|
--
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u autocd
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u cdable_vars
|
|
|
|
|
shopt -u checkhash
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u checkjobs
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u checkwinsize
|
2008-11-18 13:15:12 +00:00
|
|
|
shopt -u compat31
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u compat32
|
2011-11-21 20:51:19 -05:00
|
|
|
shopt -u compat40
|
2011-11-22 19:11:26 -05:00
|
|
|
shopt -u compat41
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -u compat42
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u compat43
|
2012-05-31 15:11:45 -04:00
|
|
|
shopt -u direxpand
|
2009-01-12 13:36:28 +00:00
|
|
|
shopt -u dirspell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u dotglob
|
|
|
|
|
shopt -u execfail
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -u extdebug
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u extglob
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -u failglob
|
2014-02-26 09:36:43 -05:00
|
|
|
shopt -u globasciiranges
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u globstar
|
2004-07-27 13:29:18 +00:00
|
|
|
shopt -u gnu_errfmt
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u histappend
|
2005-12-07 14:08:12 +00:00
|
|
|
shopt -u histreedit
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u histverify
|
|
|
|
|
shopt -u huponexit
|
2016-09-15 16:59:08 -04:00
|
|
|
shopt -u inherit_errexit
|
2011-11-22 19:11:26 -05:00
|
|
|
shopt -u lastpipe
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u lithist
|
2001-11-13 17:56:06 +00:00
|
|
|
shopt -u login_shell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u mailwarn
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -u no_empty_cmd_completion
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u nocaseglob
|
2005-12-07 14:08:12 +00:00
|
|
|
shopt -u nocasematch
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u nullglob
|
1999-02-19 17:11:39 +00:00
|
|
|
shopt -u restricted_shell
|
1998-04-17 19:52:44 +00:00
|
|
|
shopt -u shift_verbose
|
2000-03-17 21:46:59 +00:00
|
|
|
shopt -u xpg_echo
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
2009-01-12 13:36:28 +00:00
|
|
|
autocd off
|
1998-04-17 19:52:44 +00:00
|
|
|
cdable_vars off
|
|
|
|
|
checkhash off
|
2009-01-12 13:36:28 +00:00
|
|
|
checkjobs off
|
1998-04-17 19:52:44 +00:00
|
|
|
checkwinsize off
|
2008-11-18 13:15:12 +00:00
|
|
|
compat31 off
|
2009-01-12 13:36:28 +00:00
|
|
|
compat32 off
|
2011-11-21 20:51:19 -05:00
|
|
|
compat40 off
|
2011-11-22 19:11:26 -05:00
|
|
|
compat41 off
|
2014-02-26 09:36:43 -05:00
|
|
|
compat42 off
|
2016-09-15 16:59:08 -04:00
|
|
|
compat43 off
|
2012-05-31 15:11:45 -04:00
|
|
|
direxpand off
|
2009-01-12 13:36:28 +00:00
|
|
|
dirspell off
|
1998-04-17 19:52:44 +00:00
|
|
|
dotglob off
|
|
|
|
|
execfail off
|
2004-07-27 13:29:18 +00:00
|
|
|
extdebug off
|
1998-04-17 19:52:44 +00:00
|
|
|
extglob off
|
2004-07-27 13:29:18 +00:00
|
|
|
failglob off
|
2014-02-26 09:36:43 -05:00
|
|
|
globasciiranges off
|
2016-09-15 16:59:08 -04:00
|
|
|
globstar off
|
2004-07-27 13:29:18 +00:00
|
|
|
gnu_errfmt off
|
1998-04-17 19:52:44 +00:00
|
|
|
histappend off
|
2005-12-07 14:08:12 +00:00
|
|
|
histreedit off
|
1998-04-17 19:52:44 +00:00
|
|
|
histverify off
|
|
|
|
|
huponexit off
|
2016-09-15 16:59:08 -04:00
|
|
|
inherit_errexit off
|
2011-11-22 19:11:26 -05:00
|
|
|
lastpipe off
|
1998-04-17 19:52:44 +00:00
|
|
|
lithist off
|
2001-11-13 17:56:06 +00:00
|
|
|
login_shell off
|
1998-04-17 19:52:44 +00:00
|
|
|
mailwarn off
|
2000-03-17 21:46:59 +00:00
|
|
|
no_empty_cmd_completion off
|
1998-04-17 19:52:44 +00:00
|
|
|
nocaseglob off
|
2005-12-07 14:08:12 +00:00
|
|
|
nocasematch off
|
1998-04-17 19:52:44 +00:00
|
|
|
nullglob off
|
1999-02-19 17:11:39 +00:00
|
|
|
restricted_shell off
|
1998-04-17 19:52:44 +00:00
|
|
|
shift_verbose off
|
2000-03-17 21:46:59 +00:00
|
|
|
xpg_echo off
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
set +o allexport
|
|
|
|
|
set -o braceexpand
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o emacs
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o errexit
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o errtrace
|
|
|
|
|
set +o functrace
|
1998-04-17 19:52:44 +00:00
|
|
|
set -o hashall
|
|
|
|
|
set -o histexpand
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o history
|
|
|
|
|
set +o ignoreeof
|
|
|
|
|
set -o interactive-comments
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o keyword
|
|
|
|
|
set -o monitor
|
|
|
|
|
set +o noclobber
|
|
|
|
|
set +o noexec
|
|
|
|
|
set +o noglob
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o nolog
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o notify
|
|
|
|
|
set +o nounset
|
|
|
|
|
set +o onecmd
|
|
|
|
|
set +o physical
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o pipefail
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o posix
|
1998-04-17 19:52:44 +00:00
|
|
|
set -o privileged
|
|
|
|
|
set +o verbose
|
|
|
|
|
set +o vi
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o xtrace
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
allexport off
|
|
|
|
|
braceexpand on
|
2002-07-17 14:10:11 +00:00
|
|
|
emacs on
|
1998-04-17 19:52:44 +00:00
|
|
|
errexit off
|
2004-07-27 13:29:18 +00:00
|
|
|
errtrace off
|
|
|
|
|
functrace off
|
1998-04-17 19:52:44 +00:00
|
|
|
hashall on
|
|
|
|
|
histexpand on
|
2002-07-17 14:10:11 +00:00
|
|
|
history on
|
|
|
|
|
ignoreeof off
|
|
|
|
|
interactive-comments on
|
1998-04-17 19:52:44 +00:00
|
|
|
keyword off
|
|
|
|
|
monitor on
|
|
|
|
|
noclobber off
|
|
|
|
|
noexec off
|
|
|
|
|
noglob off
|
2002-07-17 14:10:11 +00:00
|
|
|
nolog off
|
1998-04-17 19:52:44 +00:00
|
|
|
notify off
|
|
|
|
|
nounset off
|
|
|
|
|
onecmd off
|
|
|
|
|
physical off
|
2004-07-27 13:29:18 +00:00
|
|
|
pipefail off
|
2002-07-17 14:10:11 +00:00
|
|
|
posix off
|
1998-04-17 19:52:44 +00:00
|
|
|
privileged on
|
|
|
|
|
verbose off
|
|
|
|
|
vi off
|
2002-07-17 14:10:11 +00:00
|
|
|
xtrace off
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
set +o allexport
|
|
|
|
|
set -o braceexpand
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o emacs
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o errexit
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o errtrace
|
|
|
|
|
set +o functrace
|
1998-04-17 19:52:44 +00:00
|
|
|
set -o hashall
|
|
|
|
|
set -o histexpand
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o history
|
|
|
|
|
set +o ignoreeof
|
|
|
|
|
set -o interactive-comments
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o keyword
|
|
|
|
|
set -o monitor
|
|
|
|
|
set +o noclobber
|
|
|
|
|
set +o noexec
|
|
|
|
|
set +o noglob
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o nolog
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o notify
|
|
|
|
|
set +o nounset
|
|
|
|
|
set +o onecmd
|
|
|
|
|
set +o physical
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o pipefail
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o posix
|
1998-04-17 19:52:44 +00:00
|
|
|
set -o privileged
|
|
|
|
|
set +o verbose
|
|
|
|
|
set +o vi
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o xtrace
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
set -o history
|
|
|
|
|
set +o verbose
|
|
|
|
|
--
|
|
|
|
|
set -o braceexpand
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o emacs
|
1998-04-17 19:52:44 +00:00
|
|
|
set -o hashall
|
|
|
|
|
set -o histexpand
|
|
|
|
|
set -o history
|
2001-04-06 19:14:31 +00:00
|
|
|
set -o interactive-comments
|
2002-07-17 14:10:11 +00:00
|
|
|
set -o monitor
|
|
|
|
|
set -o privileged
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
set +o allexport
|
|
|
|
|
set +o errexit
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o errtrace
|
|
|
|
|
set +o functrace
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o ignoreeof
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o keyword
|
|
|
|
|
set +o noclobber
|
|
|
|
|
set +o noexec
|
|
|
|
|
set +o noglob
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o nolog
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o notify
|
|
|
|
|
set +o nounset
|
|
|
|
|
set +o onecmd
|
|
|
|
|
set +o physical
|
2004-07-27 13:29:18 +00:00
|
|
|
set +o pipefail
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o posix
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o verbose
|
1998-04-17 19:52:44 +00:00
|
|
|
set +o vi
|
2002-07-17 14:10:11 +00:00
|
|
|
set +o xtrace
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
|
|
|
|
allexport off
|
|
|
|
|
errexit off
|
2004-07-27 13:29:18 +00:00
|
|
|
errtrace off
|
|
|
|
|
functrace off
|
2002-07-17 14:10:11 +00:00
|
|
|
ignoreeof off
|
1998-04-17 19:52:44 +00:00
|
|
|
keyword off
|
|
|
|
|
noclobber off
|
|
|
|
|
noexec off
|
|
|
|
|
noglob off
|
2002-07-17 14:10:11 +00:00
|
|
|
nolog off
|
1998-04-17 19:52:44 +00:00
|
|
|
notify off
|
|
|
|
|
nounset off
|
|
|
|
|
onecmd off
|
|
|
|
|
physical off
|
2004-07-27 13:29:18 +00:00
|
|
|
pipefail off
|
1998-04-17 19:52:44 +00:00
|
|
|
posix off
|
2002-07-17 14:10:11 +00:00
|
|
|
verbose off
|
1998-04-17 19:52:44 +00:00
|
|
|
vi off
|
2002-07-17 14:10:11 +00:00
|
|
|
xtrace off
|
1998-04-17 19:52:44 +00:00
|
|
|
--
|
2002-07-17 14:10:11 +00:00
|
|
|
./shopt.tests: line 93: shopt: xyz1: invalid shell option name
|
|
|
|
|
./shopt.tests: line 94: shopt: xyz1: invalid option name
|