Searched refs:PATH (Results 1 - 25 of 41) sorted by relevance

12

/ast/src/cmd/ksh93/tests/
H A Dpath.sh48 p=$PATH
50 PATH=$FPATH:$p
53 PATH=$FPATH:$p
56 PATH=$FPATH:$p
59 PATH=$FPATH:$p
64 PATH=$FPATH:$p
69 PATH=$FPATH:$p
71 PATH=$p
72 (PATH="/bin")
73 [[ $($SHELL -c 'print -r -- "$PATH"')
[all...]
H A Dexit.sh49 PATH=$PATH \
H A Drestricted.sh51 PATH=$PWD:$PATH
57 check_restricted 'PATH=/bin' || err_exit 'PATH asignment not resticted'
71 print 'PATH=/bin' > script
72 ! check_restricted script || err_exit 'script with PATH assignment should run in restricted mode'
79 for i in PATH ENV FPATH
H A Dalias.sh84 PATH=$PATH
88 then PATH=$tmp:/bin:/usr/bin
H A Dnamespace.sh63 PATH=$tmp/global/bin:$PATH
91 PATH=$tmp/local/bin:/bin
94 [[ $(runrun $foo) == 'local prog bar' ]] || err_exit 'local binary on PATH failed'
102 [[ $(run $foo) == 'global prog abc' ]] || err_exit 'global binary on PATH failed'
H A Dfunctions.sh430 [[ $(PATH=$PATH: $SHELL -c '. dotscript;print $#') == 3 ]] || err_exit 'positional parameters not preserved with . script without arguments'
844 PATH='$tmp' script
1047 PATH=$FPATH:$PATH
1060 PATH=$FPATH:$PATH
H A Dsubshell.sh35 bincat=$(PATH=$(getconf PATH) whence -p cat)
591 ( PATH=/bin:/usr/bin
603 $SHELL 2> /dev/null -c '( PATH=/bin; set -o restricted) ; exit 0' || err_exit 'restoring PATH when a subshell enables restricted exits not working'
H A Dtypes.sh463 PATH=$PWD:$PATH
476 if n=$(FPATH=$PWD PATH=$PWD:$PATH $SHELL 2> /dev/null -c 'A_t a; print ${a.b.n}')
H A Dsignal.sh250 export PATH=$PATH:
H A Dvariables.sh614 path=$PATH
616 for v in EDITOR VISUAL OPTIND CDPATH FPATH PATH ENV LINENO RANDOM SECONDS _
639 PATH=$path
655 got=$(CDPATH=:.. $SHELL -c "PATH=:/bin:/usr/bin; date > /dev/null; cd glean && ./$cmd" 2>&1)
656 [[ $got == "$exp" ]] || err_exit "cd with CDPATH after PATH change failed -- expected '$exp', got '$got'"
/ast/src/lib/libcmd/
H A Dpathchk.c81 #define PATH 0x2 macro
112 if (mode & PATH)
199 if((mode & PATH) && *cp == '-')
242 mode |= COMPONENTS|PATH;
248 mode |= PATH;
/ast/src/cmd/ksh93/data/
H A Dbash_pre_rc.sh155 typeset OPATH=$PATH
156 typeset PATH=$PATH
158 PATH=$OPATH:.
160 PATH=.
/ast/src/cmd/pax/
H A Dbax.sh24 # ../lib/bax/init on $PATH to customize
40 path=$PATH
/ast/src/cmd/3d/
H A D3d.sh152 located on \b$PATH\b; the \b3d\b dll (shared library), located either
153 on \b$PATH\b or in one of the \b../lib\b* directories on \b$PATH\b,
304 case :$PATH: in
306 *) export PATH=$dir/bin:$PATH ;;
347 SHELL=`PATH=$dir/bin:$PATH whence -p $t 2>/dev/null`
/ast/src/cmd/INIT/
H A DWWW.mk134 Add the bin directory to PATH and the lib directory
180 PATH=\$PATH:$(PATH):/usr/ccs/bin macro
208 PATH=$HOME/bin:$PATH macro
426 elif "$(PATH:/:/ /G:X=$(I:/.*_//):T=F:O=1)"
H A Dpackage.sh67 env="HOSTTYPE NPROC PACKAGEROOT INSTALLROOT PATH"
514 [+?All scripts and commands under \b$PACKAGEROOT\b use \b$PATH\b
518 only change their \b$PATH\b variable to reference the new installation
751 exported in ${bB}PATH${eb}.${eD}
866 All scripts and commands under ${bB}\$PACKAGEROOT${eB} use ${bB}\$PATH${eB} relative pathnames;
869 their ${bB}\$PATH${eB} variable to reference the new instalation root bin directory.
922 exported in ${bB}PATH${eb}.${eD}
1479 $exec export PATH=$A/bin:$P/bin:$PATH
1543 # true if arg is executable command on $PATH
[all...]
H A DMakefile82 * ksh93 function search on PATH
84 * ksh93 ld library path search on PATH
H A Dmamprobe.sh132 set $PATH
137 0) echo "$0: ../$script: probe script not found on PATH" >&2
H A Dregress.sh1027 print -r -- "${ENVIRON[@]}" "${EXPORT[@]}" "PATH=$PATH" $COMMAND "$@"
1041 eval print -u2 "$PS4" "${ENVIRON[@]}" "${EXPORT[@]}" PATH='$PATH' '$'COMMAND '"$@"' '$input' '"2>$TWD/ERROR"' '"${JOBPID:+&}"'
1043 eval "${ENVIRON[@]}" "${EXPORT[@]}" PATH='$PATH' '$'COMMAND '"$@"' $input "2>$TWD/ERROR" "${JOBPID:+&}"
1381 PATH=$SOURCE:${PATH#?(.):}
1382 PATH=${PATH
[all...]
/ast/src/cmd/tw/
H A Dfind.c109 #define PATH(f) ((f)->fts_path) macro
135 IREGEX, LNAME, PATH, REGEX, USED, XTYPE, CHOP, enumerator in enum:Command
393 "path", PATH, Str, 0, "pattern", 0,
709 value->s = S_ISLNK(ent->fts_statp->st_mode) && pathgetlink(PATH(ent), fp->tmp, sizeof(fp->tmp)) > 0 ? fp->tmp : "";
1361 if ((state->walkflags & FTS_NOCHDIR) && stat(PATH(ent), ent->fts_statp))
1424 val = ((state->walkflags & FTS_PHYSICAL) ? stat(PATH(ent), &st) : lstat(PATH(ent), &st)) ? 0 : st.st_mode;
1556 val = S_ISLNK(ent->fts_statp->st_mode) && pathgetlink(PATH(ent), state->txt, sizeof(state->txt)) > 0 && strgrpmatch(state->txt, np->first.cp, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT|ent->ignorecase);
1559 val = S_ISLNK(ent->fts_statp->st_mode) && pathgetlink(PATH(ent), state->txt, sizeof(state->txt)) > 0 && strgrpmatch(state->txt, np->first.cp, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT|STR_ICASE);
1561 case PATH
[all...]
H A Dtw.h43 #define PATH(f) ((f)->status==FTW_NAME?(f)->name:(f)->path) macro
H A Dexpr.c246 v.string = sum((Exsum_t*)node->local.pointer, PATH(ftw));
279 fp = sfopen(NiL, PATH(ftw), "r");
280 v.string = magictype(state.magic, fp, PATH(ftw), st);
285 v.string = sum((Exsum_t*)node->local.pointer, PATH(ftw));
288 fp = sfopen(NiL, PATH(ftw), "r");
290 v.string = magictype(state.magic, fp, PATH(ftw), st);
323 if (!S_ISLNK(st->st_mode) || pathgetlink(PATH(ftw), text, sizeof(text)) < 0)
380 v.string = sum(sp, PATH(ftw));
/ast/src/lib/libtksh/lib/tksh7.6/
H A Dinit.tcl230 # may be in the Path or PATH environment variables, and path
278 if {! [info exists env(PATH)]} {
285 append path $env(PATH)
329 foreach dir [split $env(PATH) :] {
/ast/src/cmd/ie/
H A Die.sh66 located on \b$PATH\b and the \bie\b dll (shared library), located
67 either on \b$PATH\b or in one of the \b../lib\b* directories on
68 \b$PATH\b, depending on local compilation system conventions. Systems
115 set -A path $PATH
/ast/src/cmd/html/
H A Dmm2twiki.sh1363 path=$PATH
1364 eval PATH=$HTMLPATH "$*" > $file
1365 PATH=$path

Completed in 44 milliseconds

12