/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1982-2010 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
#include "defs.h"
#include "name.h"
#include "shtable.h"
#if SHOPT_BASH
#else
# define bashopt(a,b)
# define bashextra(a,b)
#endif
/*
* This is the list of invocation and set options
* This list must be in in ascii sorted order
*/
{
"allexport", SH_ALLEXPORT,
#if SHOPT_BASH
#endif
"bgnice", SH_BGNICE,
"braceexpand", SH_BRACEEXPAND,
"noclobber", SH_NOCLOBBER,
"emacs", SH_EMACS,
"errexit", SH_ERREXIT,
"noexec", SH_NOEXEC,
"noglob", SH_NOGLOB,
"globstar", SH_GLOBSTARS,
"gmacs", SH_GMACS,
#if SHOPT_HISTEXPAND
"histexpand", SH_HISTEXPAND,
#else
#endif
"ignoreeof", SH_IGNOREEOF,
"keyword", SH_KEYWORD,
"nolog", SH_NOLOG,
"markdirs", SH_MARKDIRS,
"monitor", SH_MONITOR,
"multiline", SH_MULTILINE,
"notify", SH_NOTIFY,
"pipefail", SH_PIPEFAIL,
"privileged", SH_PRIVILEGED,
#if SHOPT_BASH
# if SHOPT_PFSH
# endif
#else
# if SHOPT_PFSH
# endif
#endif
"restricted", SH_RESTRICTED,
"showme", SH_SHOWME,
"trackall", SH_TRACKALL,
"nounset", SH_NOUNSET,
"verbose", SH_VERBOSE,
"vi", SH_VI,
"viraw", SH_VIRAW,
"xtrace", SH_XTRACE,
"", 0
};
{
{"-nnameref", NV_REF},
{"-xexport", NV_EXPORT},
{"-rreadonly", NV_RDONLY},
{"-ttagged", NV_TAGGED},
{"-Aassociative array", NV_ARRAY},
{"-aindexed array", NV_ARRAY},
{"-Ffloat", NV_DOUBLE},
{"-iinteger", NV_INTEGER},
{"-Hfilename", NV_HOST},
{"-bbinary", NV_BINARY},
{"-llowercase", NV_UTOL},
{"-Zzerofill", NV_ZFILL},
{"-Lleftjust", NV_LJUST},
{"-Rrightjust", NV_RJUST},
{"-uuppercase", NV_LTOU},
{"++namespace", NV_TABLE},
{"", 0}
};