/ast/src/lib/libast/misc/ |
H A D | errorx.c | 32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument 44 if (!cat) 45 cat = (const char*)error_info.catalog; 46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
|
H A D | translate.c | 47 nl_catd cat; /* message catalog handle */ member in struct:__anon295 57 Catalog_t* cat; /* current catalog pointer */ member in struct:__anon296 180 cp->cat = NOCAT; 224 * return the C locale message pointer for msg in cat 225 * cat may be a : separated list of candidate names 229 match(const char* cat, const char* msg) argument 239 s = (char*)cat; 244 if (s == (char*)cat) 256 mp->cat = cp; 271 * cat th 295 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument [all...] |
/ast/src/lib/libast/comp/ |
H A D | catopen.c | 27 * the ast mc* and native cat* routines do all the work 32 * or a Cc_t* where Cc_t.cat is the native nl_catd 57 nl_catd cat; member in struct:__anon248 113 cc->cat = d; 126 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat); 141 _ast_catgets(_ast_nl_catd cat, int set, int num, const char* msg) argument 143 if (cat == (_ast_nl_catd)(-1)) 146 if (!((Cc_t*)cat)->set) 151 msg = (char*)catgets(((Cc_t*)cat)->cat, se 167 _ast_catclose(_ast_nl_catd cat) argument [all...] |
/ast/src/cmd/ksh93/tests/ |
H A D | coprocess.sh | 51 bincat=$(whence -p cat) 52 builtin cat 54 for cat in cat $bincat 57 $cat |& 60 [[ $line == hello ]] || err_exit "$cat coprocessing fails" 62 print -u5 'hello again' || err_exit "write on $cat coprocess u5 fails" 64 [[ $line == 'hello again' ]] || err_exit "$cat coprocess after moving fds fails" 90 then err_exit "$cat coprocess $1 does not match $2" 96 *) err_exit "$cat coproces [all...] |
H A D | heredoc.sh | 36 cat > $f <<! 42 cat > $g <<\! 46 cat > $g <<- ! 50 cat > $g <<- \! 55 cat > $g <<! 59 cat > $g <<! 63 cat > $f <<\!! 69 cat > $g <<!! 80 eval `echo 'cat <<x'` "|| err_exit "eval `echo 'cat << [all...] |
H A D | basic.sh | 94 cat <$x > dat2 || err_exit "cat < $x > dat2 failed" 95 cat dat1 dat2 | cat | cat | cat > dat3 || err_exit "cat pipe failed" 96 cat > dat4 <<! 99 cat dat1 dat2 | cat | ca [all...] |
H A D | return.sh | 114 cat > $file <<! 129 cat > $file <<! 145 cat > $file <<\!
|
H A D | select.sh | 36 cat > $tmp/1 <<\!
|
H A D | subshell.sh | 35 bincat=$(PATH=$(getconf PATH) whence -p cat) 338 CAT=( cat $bincat ) 339 INS=( "" "builtin cat; " "builtin -d cat $bincat; " ": > /dev/null; " ) 342 ( CMD='print foo | $cat' EXP=3 ) 343 ( CMD='$cat < $tmp/lin' ) 344 ( CMD='cat $tmp/lin | $cat' ) 346 ( CMD='cat $tmp/buf | read v; print $v' LIM=4*1024 ) 349 if cat /de [all...] |
H A D | namespace.sh | 47 cat > $tmp/global/xfun <<- \EOF 53 cat > $tmp/local/xfun <<- \EOF
|
H A D | functions.sh | 142 cat > $tmp/script <<-\! 153 cat > $tmp/script <<-\! 171 cat > $tmp/script <<- \EOF 216 cat > $tmp/foobar <<! 407 cat > tst <<- EOF 459 cat > $tmp/data1 << '++EOF' 481 cat > $tmp/script << '++EOF' 745 cat <<\M 747 cat $tmp/data1 >> $tmp/script 940 cat > [all...] |
/ast/src/cmd/msgcc/ |
H A D | msgget.c | 56 char* cat; local 91 if (cat = strchr(cmd, ':')) 92 *cat++ = 0; 93 if (!mcfind(loc, cmd, LC_MESSAGES, 0, path, sizeof(path)) && (!cat || !mcfind(loc, cat, LC_MESSAGES, 0, path, sizeof(path)))) 95 if (cat) 96 *--cat = ':'; 106 s = errorx(loc, cmd, cat, msg);
|
/ast/src/lib/libast/features/ |
H A D | preroot.sh | 30 then cat <<!
|
/ast/src/cmd/INIT/ |
H A D | PROBE.mk | 12 cat $(*) > $(<)
|
H A D | filter.sh | 82 0) cat > $tmp 94 cat $tmp$suf
|
H A D | execrate.sh | 83 0) if test ! -x /bin/cat.exe 86 if /bin/cat /bin/cat >/dev/null 2>&1 95 *cat|*rm)
|
H A D | rt.sh | 150 cat -- "$i" 152 else cat "$@" 400 then cat=${1%%/*} 401 if [[ $cat != $category ]] 403 category=$cat
|
/ast/src/cmd/sort/ |
H A D | testsort.sh | 174 cat >xsort <<! 202 cat <<! >ysort 223 cat >linecount <<'!' 249 cat in | ./ysort - - 278 cat >in <<! 284 cat >in1 <<! 290 cat >in2 <<! 357 cat >in <<! 371 cat >in <<! 385 cat >i [all...] |
/ast/src/cmd/at/ |
H A D | crontab.sh | 171 then cat "$file" 177 then cat "$file" 188 "") cat > "$temp" ;; 189 *) cat "$replace" > "$temp" ;;
|
/ast/src/lib/libcs/ |
H A D | genshare.sh | 64 "") s=`hostname 2>/dev/null || uname -n 2>/dev/null || cat /etc/whoami 2>/dev/null || echo local 2>/dev/null` 68 "") p=`hostname 2>/dev/null || uname -n 2>/dev/null || cat /etc/whoami 2>/dev/null || echo local 2>/dev/null` ;;
|
/ast/src/lib/libjcl/ |
H A D | run.c | 125 register Jclcat_t* cat; local 260 for (cat = dd->cat; cat; cat = cat->next) 261 if (cat->path && *cat->path == '&') 293 for (cat = dd->cat; ca [all...] |
/ast/src/cmd/nmake/ |
H A D | yacc.mk | 34 return $(V:@?$$(SED) $$(V)?cat?)
|
H A D | Makefile | 71 case `cat /tmp/mkl$$/hl` in 84 set STDCAT cat STDCHMOD chmod STDCMP cmp STDCP cp STDLN ln STDMV mv STDRM rm 100 if test -x /bin/cat.exe 101 then if /bin//cat /bin/cat >/dev/null 2>&1
|
/ast/src/cmd/std/ |
H A D | shar.sh | 199 cat <<- !!! 214 cat <<!!! 240 then cat <<- \!!! 264 then cat <<- \!!! 286 cat <<- !!! 309 cat <<- !!! 346 # Emit either a mkdir or a cat/sed to extract the file. 406 then cat <<- __END__ 411 then cat > \$temp <<\!!! 420 else cat > \ [all...] |
/ast/src/cmd/cs/ |
H A D | Makefile | 11 cat tcp :SERVICE: cat.c
|