Searched refs:sh (Results 1 - 25 of 124) sorted by relevance

12345

/ast/src/lib/libast/comp/
H A Dsystem.c46 char* sh[4]; local
50 sh[0] = "sh";
51 sh[1] = "-c";
52 sh[2] = (char*)cmd;
53 sh[3] = 0;
54 return procrun(NiL, sh, 0);
/ast/src/lib/libtksh/lib/tksh7.6/
H A Dinit.ksh5 [[ ${.sh.subscript} == "" ]] && return
6 nameref v=${.sh.subscript}
7 env[${.sh.subscript}]="$v"
12 [[ ${.sh.subscript} == "" ]] && return
13 nameref v=${.sh.subscript}
14 v="${.sh.value}"
19 [[ ${.sh.subscript} == "" ]] && return
20 nameref v=${.sh.subscript}
/ast/src/lib/libast/path/
H A Dpathshell.c53 register char* sh; local
62 if ((sh = getenv("SHELL")) && *sh == '/' && strmatch(sh, "*/(sh|*[!cC]sh)*([[:digit:]])?(-+([.[:alnum:]]))?(.exe)"))
66 if (stat(sh, &st))
68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)"))
81 s = sh;
[all...]
/ast/src/cmd/mam/
H A DMakefile7 mamdag :: mamdag.sh
9 mamdot :: mamdot.sh
11 mamexec :: mamexec.sh
17 mamsh :: mamsh.sh
25 :: RELEASE mamold.sh shmam.awk
H A Dmamsh.sh20 : mam to sh script filter
/ast/src/cmd/INIT/
H A DPROBE.mk4 * <lang> <tool> :PROBE: *.probe *.sh *
7 * generates probe.sh and probe in .
11 probe.sh : $(LIBDIR)/probe/$(<:O=1)/probe $(>:N=*.(probe|sh))
13 $(LIBDIR)/probe/$(<:O=1)/$(<:O=2) :INSTALLDIR: probe $(>:N!=*.(probe|sh))
H A Dcrossexec.sh104 read hosttype hostname usr dir sh cp
127 case $sh in
128 ''|-) sh=ssh ;;
138 $exec $sh $shu $hostname "cd $dir; LD_LIBRARY_PATH=: $cmd $@ </dev/null 2>/dev/null; code=\$?; rm -f $cmd; echo $command: exit \$code >&2" </dev/null 2>$tmp
H A DMakefile14 hurl :: hurl.sh LICENSE=since=2003,author=gsf
16 iffe :: iffe.sh LICENSE=since=1994,author=gsf+kpv
18 mktest :: mktest.sh LICENSE=since=2005,author=gsf
20 package :: package.sh
22 regress :: regress.sh LICENSE=since=1995,author=gsf
24 rt :: rt.sh LICENSE=since=2005,author=gsf
28 crossexec :: crossexec.sh
30 ditto :: ditto.sh LICENSE=since=2001,author=gsf+ek
32 execrate :: execrate.sh LICENSE=since=2002,author=gsf
34 filter :: filter.sh
[all...]
/ast/src/cmd/ksh93/sh/
H A Ddefs.c32 Shell_t sh = {0}; variable
35 Shell_t *_imp__sh = &sh;
H A Dfault.c280 sh.st.otrapcom = 0;
283 else if(!((flag=sh.sigflag[sig])&(SH_SIGFAULT|SH_SIGOFF)))
298 sh.sigflag[sig] = flag;
308 sh.sigflag[0] |= SH_SIGFAULT;
311 flag = sh.sigflag[sig];
325 register int flag, sig=sh.st.trapmax;
328 if(trap=sh.st.trapcom[sig])
330 flag = sh.sigflag[sig]&~(SH_SIGTRAP|SH_SIGSET);
335 sh.st.trapcom[sig] = 0;
344 sh
[all...]
/ast/src/cmd/msgcc/
H A DMakefile5 msgadmin :: msgadmin.sh
9 msgcc :: msgcc.sh
/ast/src/cmd/html/
H A DMakefile17 mm2html :: mm2html.sh
19 mm2bb :: mm2bb.sh
21 mm2twiki :: mm2twiki.sh
33 download :: download.sh
37 sh.1 old-sh.html old-sh.rtf \
/ast/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.value%:}
80 set -A .sh.value $(dirs)
85 index=_push_max-.sh.subscript
87 _push_stack[index]=${.sh.value}
98 typeset prefix remaining=${.sh
[all...]
/ast/src/cmd/ksh93/include/
H A Dregress.h39 #define sh_isregress(r) is_option(&sh.regress->options,r)
40 #define sh_onregress(r) on_option(&sh.regress->options,r)
41 #define sh_offregress(r) off_option(&sh.regress->options,r)
/ast/src/cmd/tw/
H A DMakefile11 locate :: locate.sh
13 updatedb :: updatedb.sh
/ast/src/lib/libtksh/src/
H A Dshcompat.c23 Hashtab_t *hp=hashscope(sh.var_tree), *hp2;
24 return hp ? ((hp2=hashscope(hp))?hp2:hp) : sh.var_tree;
/ast/src/cmd/warp/
H A DMakefile13 warp :: warp.sh
/ast/src/cmd/ksh93/tests/
H A Dvariables.sh34 [[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
117 nameref foo=${.sh.name}.save
118 foo=${.sh.value}
119 .sh.value=$0
127 nameref foo=${.sh.name}.save
128 .sh.value=$foo
179 .sh.value=stuff
240 .sh.value=good
451 then file=${.sh
[all...]
H A Dtimetype.sh37 then .sh.value=${ printf "%(${_._})T" now ;}
38 else .sh.value=${ printf "%(${_._})T" "#$((_))" ;}
43 .sh.value=${ printf "%(%#)T" "${.sh.value}";}
H A Dpty.sh20 : : generated by mkptytests from "posix-sh-*-c.pty" : :
84 L POSIX sh 026(C)
107 L POSIX sh 028(C)
130 L POSIX sh 029(C)
153 L POSIX sh 091(C)
169 L POSIX sh 093(C)
173 # command, sh is entered in insert mode.
185 L POSIX sh 094(C)
189 # switches sh into command mode.
199 L POSIX sh 09
[all...]
/ast/src/lib/libcoshell/
H A DMakefile16 ignore :: ignore.sh
18 silent :: silent.sh
/ast/src/cmd/ie/
H A DMakefile13 ie :: ie.sh
/ast/src/cmd/std/
H A DMakefile7 :: PROMO.mm README RELEASE ls-color.sh ls-dir.sh
37 seq :: seq.sh LICENSE=since=2007,author=dgk
39 shar :: shar.sh LICENSE=since=1999,author=dgk
53 yes :: yes.sh LICENSE=since=2007,author=dgk
/ast/src/cmd/pax/
H A DMakefile32 bax :: bax.1 bax.sh
34 cpio :: cpio.sh
36 delta2patch :: delta2patch.sh
38 rpm2cpio :: rpm2cpio.sh
40 tar :: tar.sh LICENSE=since=1989,author=gsf+brussell
44 :TEST: testpax.sh pax
/ast/src/cmd/sort/
H A DMakefile16 script :TEST: testsort.sh sort

Completed in 61 milliseconds

12345