Searched +refs:sh +refs:var +refs:value (Results 1 - 25 of 137) sorted by relevance

123456

/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/data/
H A Dbash_pre_rc.sh35 nameref FUNCNAME=.sh.fun
61 .sh.value=$(shopt -so)
62 .sh.value=${.sh.value//+([[:space:]])on*([[:space:]])/:}
63 .sh.value=${.sh
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/progmodes/
H A Dsh-script.el0 ;;; sh-script.el --- shell-script editing commands for Emacs
47 ;; The following description applies to sh and derived shells (bash,
52 ;; sh-indent-for-XXX and sh-indent-after-XXX. For example.
53 ;; sh-indent-after-if controls the indenting of a line following
54 ;; an if statement, and sh-indent-for-fi controls the indentation
57 ;; You can set each to a numeric value, but it is often more convenient
58 ;; to a symbol such as `+' which uses the value of variable `sh-basic-offset'.
62 ;; + Indent right by sh
207 (defgroup sh nil function
[all...]
/macosx-10.10.1/dtrace-147/DTTk/Docs/Examples/
H A Doneliners_examples.txt11 0 3297 exec_common:exec-success sh -c cd /usr/share/man; tbl /usr/share/man/man1/ls.1 |neqn /usr/share/lib/pub/
16 0 3297 exec_common:exec-success sh -c trap '' 1 15; /usr/bin/mv -f /tmp/mpzIaOZF /usr/share/man/cat1/ls.1 2> /d
18 0 3297 exec_common:exec-success sh -c more -s /tmp/mpzIaOZF
28 0 14 open:entry man /var/ld/ld.config
35 0 14 open:entry sh /var/ld/ld.config
36 0 14 open:entry sh /lib/libc.so.1
37 0 14 open:entry neqn /var/ld/ld.config
40 0 14 open:entry tbl /var/ld/ld.config
43 0 14 open:entry nroff /var/l
[all...]
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/tests/
H A Dfunctions.sh127 then err_exit 'value of x not restored after subshell inside function'
243 typeset var format=s
244 while getopts "$usage" var
245 do case $var in
264 then err_exit 'name=value pair args not passed to traced functions'
300 nameref var=$1
331 then err_exit "name=value not added to export list with function call -- expected 'try3', got '$val'"
335 then err_exit "export not restored name=value function call -- expected 'base', got '$val'"
454 print ${.sh.fun}
457 [[ $(a) == a ]] || err_exit '.sh
[all...]
H A Dtypes.sh56 .sh.q=$y
57 typeset -C www=.sh.q
80 [[ $z == "$y" ]] || err_exit 'value of z not preserved after subshell'
81 unset z y r s x z2 y2 www .sh.q
186 var=(
191 [[ ${var.r} == "$r" ]] || err_exit 'var.r != r'
192 (( var.z == 5)) || err_exit 'var.z !=5'
193 [[ "$var"
[all...]
H A Dcomvar.sh109 type=coord var=vieworigin val="0 0" label="Window Position"
112 type=coord var=viewsize val="400 400" label="Window Size"
115 type=2colors var=viewcolor val="gray black"
119 type=fontname var=viewfontname val="Times-Roman"
123 type=fontsize var=viewfontsize val=14 label="Window Font Size"
127 type=yesno var=showheader val=no label="Show Header"
130 type=text var=header val="" label="Header"
134 type=yesno var=showfooter val=no label="Show Footer"
137 type=text var=footer val="" label="Footer"
141 type=yesno var
[all...]
H A Dnameref.sh92 [[ ${.sh.value} ]] && print hello
109 then err_exit "value of nameref foo != $foo"
178 unset x y var
179 var=(foo=bar)
180 for i in y var
187 function setval # name value
190 nameref var=arg.bar
191 var=$2
237 [[ ${!bar} == 'foo[x.y]' ]] || err_exit '${!var} no
[all...]
/macosx-10.10.1/mail_cmds-30/mail/
H A Dcmd3.c56 * and forking a sh -c
63 char *sh; local
70 if ((sh = value("SHELL")) == NULL)
71 sh = _PATH_BSHELL;
72 (void)run_command(sh, 0, -1, -1, "-c", cmd, NULL);
87 char *sh; local
89 if ((sh = value("SHELL")) == NULL)
90 sh
[all...]
/macosx-10.10.1/emacs-93/emacs/src/
H A Dcallproc.c211 If BUFFER is 0, `call-process' returns immediately with value nil.
251 /* Set to the return value of Ffind_operation_coding_system. */
1057 If BUFFER is 0, `call-process-region' returns immediately with value nil.
1194 Therefore, the superior process must save and restore the value
1304 but with corrected value. */
1317 When an env var has multiple definitions,
1410 is responsible for restoring the ambient value of environ. */
1452 getenv_internal (var, varlen, value, valuelen)
1453 char *var;
1487 Lisp_Object var; variable
1489 char *value; variable
1492 CHECK_STRING (var); variable
1506 char *value; local
1546 register char * sh; local
[all...]
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dnvdisc.c61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp));
62 cp = sfstruse(sh.strbuf);
122 void nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp) argument
136 if(!value && (!(ap=nv_arrayptr(np)) || ap->nelem==0))
148 if(!value && (flags&NV_TYPE) && fp && fp->disc->putval==assign)
151 (*fp->disc->putval)(np,value, flags, fp);
155 if(value)
156 nv_putval(np, value, flags);
257 if(val && (tp=nv_type(np)) && (nr=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL)) && tp==nv_type(nr))
339 if(sh
1093 nv_bfsearch(const char *name, Dt_t *root, Namval_t **var, char **last) argument
1312 Shell_t *sh; member in struct:adata
[all...]
/macosx-10.10.1/libedit-40/
H A Dconfig.status.gz
/macosx-10.10.1/sudo-73/src/
H A Dconfig.status1 #! /bin/sh
11 SHELL=${CONFIG_SHELL-/bin/sh}
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # splitting by setting IFS to empty value
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/
H A Dsubst.c662 surrounded by double quotes (and sh has some really weird
1539 individual words. If DELIMS is NULL, the current value of $IFS is used
1791 to a single field with the value of each parameter separated by the
1838 in the words in the list, because the default value of $IFS is
1916 to "", no splitting occurs. If separators has some other value, the
2229 do_compound_assignment (name, value, flags)
2230 char *name, *value;
2241 list = expand_compound_array_assignment (value, flags);
2248 v = assign_array_from_string (name, value, flags);
2254 /* Given STRING, an assignment string, get the value o
2265 char *name, *value; local
2760 WORD_LIST *value; local
2788 WORD_LIST *value; local
2825 WORD_LIST *value; local
4780 SHELL_VAR *var; local
4914 SHELL_VAR *var; local
5185 SHELL_VAR *var; local
5951 char *name, *value, *temp, *temp1; local
6380 SHELL_VAR *var; local
[all...]
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/admin/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/libarchive-30/libarchive/build/autoconf/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/pcre-7/pcre/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libpng/
H A Dltmain.sh3 # ltmain.sh (GNU libtool) 2.2.6b
74 PROGRAM=ltmain.sh
81 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
82 emulate sh
92 DUALCASE=1; export DUALCASE # for MKS sh
128 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
153 # value returned in "$func_dirname_result"
155 # value retuned in "$func_basename_result"
173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
174 # is ksh but when the shell is invoked as "sh" an
[all...]
/macosx-10.10.1/vim-55/runtime/syntax/
H A Dsh.vim2 " Language: shell (sh) Korn shell (ksh) bash (sh)
8 " For options and settings, please use: :help ft-sh-syntax
19 " handling /bin/sh with is_kornshell/is_sh {{{1
20 " b:is_sh is set when "#! /bin/sh" is found;
22 " or kornshell (typically workstations with Posix "sh").
65 " sh syntax is case sensitive {{{1
230 " $(..) is not supported by sh (Bourne shell). However, apparently
231 " some systems (HP?) have as their /bin/sh a (link to) Korn shell
234 " an Error under /bin/sh
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/ldaptcl/
H A Dconfigure1 #! /bin/sh
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89 # splitting by setting IFS to empty value.)
106 # We did not find ourselves, most probably we were run as `sh COMMAN
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkcon/tkcon/
H A Dtkcon.tcl1 #!/bin/sh
110 var \#FFC0D0
474 interp eval $slave [dump var -nocomplain tcl_library env]
767 set sh [winfo screenheight $con]
773 if {$ch*($OPT(rows)+3) > $sh} {
774 set OPT(rows) [expr {($sh / $ch) - 3}]
785 $con tag configure var -background $COLOR(var)
795 -variable ::tkcon::PRIV(curtab) -value $con \
1281 # If there is only one command, it's placed in this var
[all...]
/macosx-10.10.1/apache-793/httpd/
H A Dconfigure1 #! /bin/sh
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # splitting by setting IFS to empty value.)
104 # We did not find ourselves, most probably we were run as `sh COMMAN
[all...]
H A Dconfigure.orig1 #! /bin/sh
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # splitting by setting IFS to empty value.)
104 # We did not find ourselves, most probably we were run as `sh COMMAN
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/libedit/
H A Dltmain.sh87 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88 emulate sh
98 DUALCASE=1; export DUALCASE # for MKS sh
128 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
129 # is ksh but when the shell is invoked as "sh" and the current value of
148 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
194 # value returned in "$func_dirname_result"
196 # value retuned in "$func_basename_result"
242 # value returne
[all...]

Completed in 458 milliseconds

123456