=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== shtool-2.0.8/Makefile.in-72-.timestamp: shtoolize.pod shtool.pod $(SCRIPTS) shtool-2.0.8/Makefile.in:73: -@V1=`$(SHELL) sh.version -l txt -d short VERSION`; \ shtool-2.0.8/Makefile.in:74: V2=`$(SHELL) sh.version -l txt -d long VERSION`; \ shtool-2.0.8/Makefile.in:75: D=`$(SHELL) sh.version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ shtool-2.0.8/Makefile.in-76- for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ shtool-2.0.8/Makefile.in:77: tfile=`echo "$$ifile" | sed -e 's/\.pod$$/.tmp/' -e 's/^sh\.\(.*\)$$/shtool-\1.tmp/'`; \ shtool-2.0.8/Makefile.in:78: ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ shtool-2.0.8/Makefile.in-79- cp $$ifile $$tfile; \ ############################################## shtool-2.0.8/Makefile.in-101- -@for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ shtool-2.0.8/Makefile.in:102: ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ shtool-2.0.8/Makefile.in-103- echo "./shtool install -c -m 644 $$ofile $(DESTDIR)$(mandir)/man1/$$ofile"; \ ############################################## shtool-2.0.8/Makefile.in-118- -@for ifile in shtoolize.pod shtool.pod $(SCRIPTS); do \ shtool-2.0.8/Makefile.in:119: ofile=`echo "$$ifile" | sed -e 's/\.pod$$/.1/' -e 's/^sh\.\(.*\)$$/shtool-\1.1/'`; \ shtool-2.0.8/Makefile.in-120- echo "$(RM) $(DESTDIR)$(mandir)/man1/$$ofile"; \ ############################################## shtool-2.0.8/configure-47-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo shtool-2.0.8/configure:48:if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then shtool-2.0.8/configure-49- as_echo='printf %s\n' ############################################## shtool-2.0.8/configure-51-else shtool-2.0.8/configure:52: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then shtool-2.0.8/configure-53- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## shtool-2.0.8/configure-61- expr "X$arg" : "X\\(.*\\)$as_nl"; shtool-2.0.8/configure:62: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; shtool-2.0.8/configure-63- esac; ############################################## shtool-2.0.8/configure-235- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && shtool-2.0.8/configure:236: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } shtool-2.0.8/configure-237-") 2> /dev/null; then ############################################## shtool-2.0.8/configure-350- test "x$as_lineno_1" != "x$as_lineno_2" && shtool-2.0.8/configure:351: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } shtool-2.0.8/configure-352- ############################################## shtool-2.0.8/configure-446- test "x$as_lineno_1" != "x$as_lineno_2" && shtool-2.0.8/configure:447: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { shtool-2.0.8/configure-448- ############################################## shtool-2.0.8/configure-559- esac; shtool-2.0.8/configure:560: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in shtool-2.0.8/configure-561- ???[sx]*):;;*)false;;esac;fi ############################################## shtool-2.0.8/configure-715- case $ac_option in shtool-2.0.8/configure:716: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; shtool-2.0.8/configure-717- *) ac_optarg=yes ;; ############################################## shtool-2.0.8/configure-758- -disable-* | --disable-*) shtool-2.0.8/configure:759: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` shtool-2.0.8/configure-760- # Reject names that are not valid shell variable names. ############################################## shtool-2.0.8/configure-764- ac_useropt_orig=$ac_useropt shtool-2.0.8/configure:765: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` shtool-2.0.8/configure-766- case $ac_user_opts in ############################################## shtool-2.0.8/configure-785- -enable-* | --enable-*) shtool-2.0.8/configure:786: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` shtool-2.0.8/configure-787- # Reject names that are not valid shell variable names. ############################################## shtool-2.0.8/configure-791- ac_useropt_orig=$ac_useropt shtool-2.0.8/configure:792: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` shtool-2.0.8/configure-793- case $ac_user_opts in ############################################## shtool-2.0.8/configure-990- -with-* | --with-*) shtool-2.0.8/configure:991: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` shtool-2.0.8/configure-992- # Reject names that are not valid shell variable names. ############################################## shtool-2.0.8/configure-996- ac_useropt_orig=$ac_useropt shtool-2.0.8/configure:997: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` shtool-2.0.8/configure-998- case $ac_user_opts in ############################################## shtool-2.0.8/configure-1007- -without-* | --without-*) shtool-2.0.8/configure:1008: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` shtool-2.0.8/configure-1009- # Reject names that are not valid shell variable names. ############################################## shtool-2.0.8/configure-1013- ac_useropt_orig=$ac_useropt shtool-2.0.8/configure:1014: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` shtool-2.0.8/configure-1015- case $ac_user_opts in ############################################## shtool-2.0.8/configure-1047- *=*) shtool-2.0.8/configure:1048: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` shtool-2.0.8/configure-1049- # Reject names that are not valid shell variable names. ############################################## shtool-2.0.8/configure-1067-if test -n "$ac_prev"; then shtool-2.0.8/configure:1068: ac_option=--`echo $ac_prev | sed 's/_/-/g'` shtool-2.0.8/configure-1069- { $as_echo "$as_me: error: missing argument to $ac_option" >&2 ############################################## shtool-2.0.8/configure-1091- */ ) shtool-2.0.8/configure:1092: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` shtool-2.0.8/configure-1093- eval $ac_var=\$ac_val;; ############################################## shtool-2.0.8/configure-1129-ac_ls_di=`ls -di .` && shtool-2.0.8/configure:1130:ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || shtool-2.0.8/configure-1131- { $as_echo "$as_me: error: Working directory cannot be determined" >&2 ############################################## shtool-2.0.8/configure-1189-case $srcdir in shtool-2.0.8/configure:1190:*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; shtool-2.0.8/configure-1191-esac ############################################## shtool-2.0.8/configure-1232-By default, \`make install' will install all the files in shtool-2.0.8/configure:1233:\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify shtool-2.0.8/configure:1234:an installation prefix other than \`$ac_default_prefix' using \`--prefix', shtool-2.0.8/configure-1235-for instance \`--prefix=\$HOME'. ############################################## shtool-2.0.8/configure-1283-*) shtool-2.0.8/configure:1284: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` shtool-2.0.8/configure-1285- # A ".." for each directory in $ac_dir_suffix. shtool-2.0.8/configure:1286: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` shtool-2.0.8/configure-1287- case $ac_top_builddir_sub in ############################################## shtool-2.0.8/configure-1416- *\'*) shtool-2.0.8/configure:1417: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; shtool-2.0.8/configure-1418- esac ############################################## shtool-2.0.8/configure-1503- case $ac_val in shtool-2.0.8/configure:1504: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; shtool-2.0.8/configure-1505- esac ############################################## shtool-2.0.8/configure-1520- case $ac_val in shtool-2.0.8/configure:1521: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; shtool-2.0.8/configure-1522- esac ############################################## shtool-2.0.8/configure-1631- set,) shtool-2.0.8/configure:1632: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 shtool-2.0.8/configure:1633:$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} shtool-2.0.8/configure-1634- ac_cache_corrupted=: ;; ############################################## shtool-2.0.8/configure-1642- # differences in whitespace do not lead to failure. shtool-2.0.8/configure:1643: ac_old_val_w=`echo x $ac_old_val` shtool-2.0.8/configure:1644: ac_new_val_w=`echo x $ac_new_val` shtool-2.0.8/configure-1645- if test "$ac_old_val_w" != "$ac_new_val_w"; then ############################################## shtool-2.0.8/configure-1662- case $ac_new_val in shtool-2.0.8/configure:1663: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; shtool-2.0.8/configure-1664- *) ac_arg=$ac_var=$ac_new_val ;; ############################################## shtool-2.0.8/configure-1712-set x ${MAKE-make} shtool-2.0.8/configure:1713:ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` shtool-2.0.8/configure-1714-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then ############################################## shtool-2.0.8/configure-1722-# GNU make sometimes prints "make[1]: Entering...", which would confuse us. shtool-2.0.8/configure:1723:case `${MAKE-make} -f conftest.make 2>/dev/null` in shtool-2.0.8/configure-1724- *@@@%%%=?*=@@@%%%*) ############################################## shtool-2.0.8/configure-1754-$as_echo_n "checking for pod2man conversion tool... " >&6; } shtool-2.0.8/configure:1755:perldir=`sh sh.path -d $PERL` shtool-2.0.8/configure:1756:POD2MAN=`sh sh.path -m -p "${perldir}:${PATH}" pod2man` shtool-2.0.8/configure-1757- ############################################## shtool-2.0.8/configure-1882-' shtool-2.0.8/configure:1883:DEFS=`sed -n "$ac_script" confdefs.h` shtool-2.0.8/configure-1884- ############################################## shtool-2.0.8/configure-1890- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' shtool-2.0.8/configure:1891: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` shtool-2.0.8/configure-1892- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ############################################## shtool-2.0.8/configure-1960-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo shtool-2.0.8/configure:1961:if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then shtool-2.0.8/configure-1962- as_echo='printf %s\n' ############################################## shtool-2.0.8/configure-1964-else shtool-2.0.8/configure:1965: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then shtool-2.0.8/configure-1966- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## shtool-2.0.8/configure-1974- expr "X$arg" : "X\\(.*\\)$as_nl"; shtool-2.0.8/configure:1975: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; shtool-2.0.8/configure-1976- esac; ############################################## shtool-2.0.8/configure-2090- test "x$as_lineno_1" != "x$as_lineno_2" && shtool-2.0.8/configure:2091: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { shtool-2.0.8/configure-2092- ############################################## shtool-2.0.8/configure-2203- esac; shtool-2.0.8/configure:2204: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in shtool-2.0.8/configure-2205- ???[sx]*):;;*)false;;esac;fi ############################################## shtool-2.0.8/configure-2272-configured by $0, generated by GNU Autoconf 2.62 (OpenPKG-CURRENT), shtool-2.0.8/configure:2273: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" shtool-2.0.8/configure-2274- ############################################## shtool-2.0.8/configure-2290- --*=*) shtool-2.0.8/configure:2291: ac_option=`expr "X$1" : 'X\([^=]*\)='` shtool-2.0.8/configure:2292: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` shtool-2.0.8/configure-2293- ac_shift=: ############################################## shtool-2.0.8/configure-2312- case $ac_optarg in shtool-2.0.8/configure:2313: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; shtool-2.0.8/configure-2314- esac ############################################## shtool-2.0.8/configure-2429-ac_cr='' shtool-2.0.8/configure:2430:ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` shtool-2.0.8/configure-2431-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ############################################## shtool-2.0.8/configure-2448- { (exit 1); exit 1; }; } shtool-2.0.8/configure:2449:ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` shtool-2.0.8/configure-2450-ac_delim='%!_!# ' ############################################## shtool-2.0.8/configure-2456- shtool-2.0.8/configure:2457: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then shtool-2.0.8/configure-2458- break ############################################## shtool-2.0.8/configure-2617- esac shtool-2.0.8/configure:2618: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac shtool-2.0.8/configure-2619- ac_file_inputs="$ac_file_inputs '$ac_f'" ############################################## shtool-2.0.8/configure-2680- case $as_dir in #( shtool-2.0.8/configure:2681: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( shtool-2.0.8/configure-2682- *) as_qdir=$as_dir;; ############################################## shtool-2.0.8/configure-2718-*) shtool-2.0.8/configure:2719: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` shtool-2.0.8/configure-2720- # A ".." for each directory in $ac_dir_suffix. shtool-2.0.8/configure:2721: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` shtool-2.0.8/configure-2722- case $ac_top_builddir_sub in ############################################## shtool-2.0.8/configure-2772-' shtool-2.0.8/configure:2773:case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in shtool-2.0.8/configure-2774-*datarootdir*) ac_datarootdir_seen=yes;; ############################################## shtool-2.0.8/configure-2789- shtool-2.0.8/configure:2790:# Neutralize VPATH when `$srcdir' = `.'. shtool-2.0.8/configure-2791-# Shell code in configure.ac might set extrasub. ############################################## shtool-2.0.8/configure-2817-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && shtool-2.0.8/configure:2818: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && shtool-2.0.8/configure:2819: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && shtool-2.0.8/configure-2820- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' ############################################## shtool-2.0.8/configure.ac-42-AC_MSG_CHECKING(for pod2man conversion tool) shtool-2.0.8/configure.ac:43:perldir=`sh sh.path -d $PERL` shtool-2.0.8/configure.ac:44:POD2MAN=`sh sh.path -m -p "${perldir}:${PATH}" pod2man` shtool-2.0.8/configure.ac-45-AC_SUBST(POD2MAN) ############################################## shtool-2.0.8/sh.common-74- sed -e 's/^x--\([a-zA-Z0-9-]*\)=\(.*\)$/opt_OPT="\1";opt_ARG="\2"/'` shtool-2.0.8/sh.common:75: opt_STR=`echo $opt_OPT | sed -e 's/-/_/g'` shtool-2.0.8/sh.common-76- eval "opt_OPT=\${opt_ALIAS_${opt_STR}-${opt_OPT}}" ############################################## shtool-2.0.8/sh.common-78- --[a-zA-Z0-9]*) shtool-2.0.8/sh.common:79: opt_OPT=`echo "x$1" | cut -c4-` shtool-2.0.8/sh.common:80: opt_STR=`echo $opt_OPT | sed -e 's/-/_/g'` shtool-2.0.8/sh.common-81- eval "opt_OPT=\${opt_ALIAS_${opt_STR}-${opt_OPT}}" ############################################## shtool-2.0.8/sh.common-89- -[a-zA-Z0-9]) shtool-2.0.8/sh.common:90: opt_OPT=`echo "x$1" | cut -c3-` shtool-2.0.8/sh.common-91- opt_ARG='' ############################################## shtool-2.0.8/sh.common-126- echo "$msgprefix:Error: unknown option: \`$opt_OPT'" 1>&2 shtool-2.0.8/sh.common:127: echo "$msgprefix:Hint: run \`$toolcmdhelp -h' or \`man shtool' for details" 1>&2 shtool-2.0.8/sh.common-128- exit 1 ############################################## shtool-2.0.8/sh.common-133- echo "$msgprefix:Error: missing argument to option \`$opt_PREV'" 1>&2 shtool-2.0.8/sh.common:134: echo "$msgprefix:Hint: run \`$toolcmdhelp -h' or \`man shtool' for details" 1>&2 shtool-2.0.8/sh.common-135- exit 1 ############################################## shtool-2.0.8/sh.common-148- echo "$msgprefix:Error: invalid number of arguments (exactly $arg_NUMS expected)" 1>&2 shtool-2.0.8/sh.common:149: echo "$msgprefix:Hint: run \`$toolcmd -h' or \`man shtool' for details" 1>&2 shtool-2.0.8/sh.common-150- exit 1 ############################################## shtool-2.0.8/sh.common-155- echo "$msgprefix:Error: invalid number of arguments (at least $arg_NUMS expected)" 1>&2 shtool-2.0.8/sh.common:156: echo "$msgprefix:Hint: run \`$toolcmd -h' or \`man shtool' for details" 1>&2 shtool-2.0.8/sh.common-157- exit 1 ############################################## shtool-2.0.8/shtool.m4-46-# check deeper shtool-2.0.8/shtool.m4:47:ac_rc=`($ac_cv_shtool --version) </dev/null 2>/dev/null | grep 'GNU shtool'` shtool-2.0.8/shtool.m4-48-if test ".$ac_rc" = .; then shtool-2.0.8/shtool.m4-49- ac_cv_shtool="${CONFIG_SHELL-/bin/sh} $ac_cv_shtool" shtool-2.0.8/shtool.m4:50: ac_rc=`($ac_cv_shtool --version) </dev/null 2>/dev/null | grep 'GNU shtool'` shtool-2.0.8/shtool.m4-51- if test ".$ac_rc" = .; then ############################################## shtool-2.0.8/shtoolize.in-409-do shtool-2.0.8/shtoolize.in:410: if (set +x; test -z "`(eval \$var=C; export \$var) 2>&1`"); then shtool-2.0.8/shtoolize.in-411- eval \$var=C; export \$var ############################################## shtool-2.0.8/shtoolize.in-451-fi shtool-2.0.8/shtoolize.in:452:name=`echo "\$0" | sed -e 's;.*/\\([^/]*\\)\$;\\1;' -e 's;-sh\$;;' -e 's;\\.sh\$;;'` shtool-2.0.8/shtoolize.in-453-case "\$name" in ############################################## shtool-2.0.8/test.db-7-test ".`shtool echo foo bar quux`" = ".foo bar quux" shtool-2.0.8/test.db:8:bytes=`shtool echo -n foo | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/test.db-9-test ".$bytes" = .3 shtool-2.0.8/test.db:10:bytes=`shtool echo '\1' | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/test.db-11-test ".$bytes" = .3 ############################################## shtool-2.0.8/test.db-216-chmod a+x foo.sh shtool-2.0.8/test.db:217:test "x`shtool path -p $PATH:. foo.sh`" = "x./foo.sh" shtool-2.0.8/test.db-218-@end{path} ############################################## shtool-2.0.8/test.sh-34-# iterate over all tool tests shtool-2.0.8/test.sh:35:TOOLS=`grep '^@begin' $testdb | sed -e 's/^@begin{//' -e 's/}.*$//'` shtool-2.0.8/test.sh-36-failed=0 ############################################## shtool-2.0.8/test.sh-54- cat run.log | sed -e 's/^/| /g' shtool-2.0.8/test.sh:55: failed=`expr $failed + 1` shtool-2.0.8/test.sh-56- echo "+-------------------------------------" shtool-2.0.8/test.sh-57- else shtool-2.0.8/test.sh:58: passed=`expr $passed + 1` shtool-2.0.8/test.sh-59- echo "ok" shtool-2.0.8/test.sh-60- fi shtool-2.0.8/test.sh:61: ran=`expr $ran + 1` shtool-2.0.8/test.sh-62-done ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.prop-30-perl='' shtool-2.0.8/.pc/10_fix-spelling.patch/sh.prop:31:for dir in `echo $PATH | sed -e 's/:/ /g'` .; do shtool-2.0.8/.pc/10_fix-spelling.patch/sh.prop-32- if [ -f "$dir/perl" ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-58- rp='' shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:59: for pe in `IFS="$IFS/"; echo $namelist`; do shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-60- rp="../$rp" ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-87- for dir in $paths; do shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:88: dir=`echo $dir | sed -e 's;/*$;;'` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-89- nc=99 ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-92- perl="$dir/$name" shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:93: pv=`$perl -e 'printf("%.3f", $]);'` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-94- echo "$pv:$pc:$nc:$perl" >>$tmpfile ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-96- fi shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:97: nc=`expr $nc - 1` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-98- done shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:99: pc=`expr $pc - 1` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-100- done shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-101- if [ $found = 1 ]; then shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:102: perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`" shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-103- rm -f $tmpfile >/dev/null 2>&1 ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-118- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:119: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-120- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-123- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:124: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-125- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-127- for path in $paths /lib /usr/lib /usr/local/lib; do shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:128: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-129- if [ $minusx "$path/cpp" ] && [ ! -d "$path/cpp" ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-135- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:136: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-137- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-157- for path in $paths; do shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:158: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-159- if [ $minusx "$path/$name" ] && [ ! -d "$path/$name" ]; then ############################################## shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-233- # shell script shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path:234: awk=`shtool path -p "${PATH}:." gawk nawk awk` shtool-2.0.8/.pc/10_fix-spelling.patch/sh.path-235- perl=`shtool path -m perl` ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-58-if /bin/ls -L /dev/null >/dev/null 2>&1; then shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate:59: set - x`/bin/ls -L -l -d $fod` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-60-else shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate:61: set - x`/bin/ls -l -d $fod` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-62-fi ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-105- if (expr $nummonth \> $this_month) >/dev/null; then shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate:106: this_year=`expr $this_year - 1` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-107- fi ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-130-if [ ".$opt_s" = .yes ]; then shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate:131: month=`echo $month | cut -c1-3` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mdate-132-fi ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-32-# source and destination directory shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:33:src=`echo "$1" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:34:dst=`echo "$2" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-35- ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-72-else shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:73: src="`cd $src; pwd`"; shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-74-fi ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-112- fi shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:113: basename=`echo $file | sed -e 's:^.*/::'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:114: dir=`echo $file | sed -e 's:[^/]*$::' -e 's:/$::' -e 's:$:/:' -e 's:^/$::'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:115: from=`echo "$src/$file" | sed -e 's/^\.\///'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-116- to="$dst/$dir$basename" ############################################## shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-118- if [ ".$dir" != . ]; then shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow:119: subdir=`echo $dir | sed -e 's:/$::'` shtool-2.0.8/.pc/20_fix-poderros.patch/sh.mkshadow-120- # derive reverse path from forward path ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-34-seo='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:35:bytes=`echo '\1' | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-36-if [ ".$bytes" != .3 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:37: bytes=`echo -E '\1' | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-38- if [ ".$bytes" = .3 ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-44-minusn='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:45:bytes=`echo -n 123 2>/dev/null | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-46-if [ ".$bytes" = .3 ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-52-term_norm='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:53:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[Bb]'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-54- case $TERM in ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-65- * ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:66: paths=`echo $PATH | sed -e 's/:/ /g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-67- for tool in tput tcout; do ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-70- for seq in bold md smso; do # 'smso' is last shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:71: bold="`$dir/$tool $seq 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-72- if [ ".$bold" != . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-78- for seq in sgr0 me rmso init reset; do # 'reset' is last shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:79: norm="`$dir/$tool $seq 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-80- if [ ".$norm" != . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-103-username='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:104:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[uUgG]'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-105- username="`(id -un) 2>/dev/null`" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-107- str="`(id) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:108: if [ ".`echo $str | grep '^uid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:109: username=`echo $str | sed -e 's/^uid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-110- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-132-userid='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:133:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%U'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-134- userid="`(id -u) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-135- if [ ".$userid" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:136: userid="`(id -u ${username}) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-137- if [ ".$userid" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-138- str="`(id) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:139: if [ ".`echo $str | grep '^uid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:140: userid=`echo $str | sed -e 's/^uid[ ]*=[ ]*//' -e 's/(.*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-141- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-166-groupid='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:167:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[gG]'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:168: groupid="`(id -g ${username}) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-169- if [ ".$groupid" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-170- str="`(id) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:171: if [ ".`echo $str | grep 'gid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:172: groupid=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*//' -e 's/(.*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-173- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-197-groupname='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:198:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%g'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:199: groupname="`(id -gn ${username}) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-200- if [ ".$groupname" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-201- str="`(id) 2>/dev/null`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:202: if [ ".`echo $str | grep 'gid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:203: groupname=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-204- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-232-domainname='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:233:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%h'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-234- hostname="`(uname -n) 2>/dev/null |\ ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-244- *.* ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:245: domainname=".`echo $hostname | cut -d. -f2-`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:246: hostname="`echo $hostname | cut -d. -f1`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-247- ;; ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-249-fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:250:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%d'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-251- if [ ".$domainname" = . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-274-time_monthname='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo:275:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[DMYm]'`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.echo-276- time_day=`date '+%d'` ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.fixperm-41-for p in $paths; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.fixperm:42: for file in `find $p -depth -print`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.fixperm-43- if [ -f $file ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install-72-if [ -d $dstpath ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install:73: dstpath=`echo "$dstpath" | sed -e 's:/$::'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install-74- dstisdir=1 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install-88- if [ $dstisdir = 1 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install:89: dstfile=`echo "$src" | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.install-90- dst="$dst/$dstfile" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-58-if /bin/ls -L /dev/null >/dev/null 2>&1; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate:59: set - x`/bin/ls -L -l -d $fod` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-60-else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate:61: set - x`/bin/ls -l -d $fod` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-62-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-105- if (expr $nummonth \> $this_month) >/dev/null; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate:106: this_year=`expr $this_year - 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-107- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-130-if [ ".$opt_s" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate:131: month=`echo $month | cut -c1-3` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mdate-132-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-71- if [ -d $src ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:72: srcdir=`echo $src | sed -e 's;/*$;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-73- srcbase="" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-74- else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:75: srcdir=`echo $src | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:76: srcbase=`echo $src | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-77- fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-78- if [ -d $dst ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:79: dstdir=`echo $dst | sed -e 's;/*$;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-80- dstbase="" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-81- else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:82: dstdir=`echo $dst | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:83: dstbase=`echo $dst | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-84- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-97- if [ ".$srcdir" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:98: srcdir="`pwd | sed -e 's;/*$;;'`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-99- srcisabs=1 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-101- elif [ -d $srcdir ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:102: srcdir="`cd $srcdir; pwd | sed -e 's;/*$;;'`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-103- srcisabs=1 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-116- while [ ".$srcdir" != . ] && [ ".$dstdir" != . ]; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:117: presrc=`echo $srcdir | sed -e 's;^\([^/]*\)/.*;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:118: predst=`echo $dstdir | sed -e 's;^\([^/]*\)/.*;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-119- if [ ".$presrc" != ".$predst" ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-122- prefix="$prefix$presrc/" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:123: srcdir=`echo $srcdir | sed -e 's;^[^/]*/*;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:124: dstdir=`echo $dstdir | sed -e 's;^[^/]*/*;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-125- done ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-163- else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:164: dstbase=`echo "$prefix$srcdir" | sed -e 's;/*$;;' -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-165- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-168- # now finalize source and destination directory paths shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:169: srcdir=`echo $srcdir | sed -e 's;\([^/]\)$;\1/;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln:170: dstdir=`echo $dstdir | sed -e 's;\([^/]\)$;\1/;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkln-171- ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-32-# source and destination directory shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:33:src=`echo "$1" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:34:dst=`echo "$2" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-35- ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-72-else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:73: src="`cd $src; pwd`"; shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-74-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-112- fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:113: basename=`echo $file | sed -e 's:^.*/::'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:114: dir=`echo $file | sed -e 's:[^/]*$::' -e 's:/$::' -e 's:$:/:' -e 's:^/$::'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:115: from=`echo "$src/$file" | sed -e 's/^\.\///'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-116- to="$dst/$dir$basename" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-118- if [ ".$dir" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow:119: subdir=`echo $dir | sed -e 's:/$::'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.mkshadow-120- # derive reverse path from forward path ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-46-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:47: expsrc="`echo $expsrc`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-48-fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-49-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:50: if [ ".`echo "$src" | sed -e 's;^.*\\*.*$;;'`" = ".$src" ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-51- echo "$msgprefix:Error: Source doesn't contain wildcard ('*'): $dst" 1>&2 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-53- fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:54: if [ ".`echo "$dst" | sed -e 's;^.*%[1-9].*$;;'`" = ".$dst" ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-55- echo "$msgprefix:Error: Destination doesn't contain substitution ('%N'): $dst" 1>&2 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-70-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:71: srcpat=`echo "$src" | sed -e 's/\\./\\\\./g' -e 's/;/\\;/g' -e 's;\\*;\\\\(.*\\\\);g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:72: dstpat=`echo "$dst" | sed -e 's;%\([1-9]\);\\\\\1;g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-73-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-77- if [ .$opt_e = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move:78: onedst=`echo $onesrc | sed -e "s;$srcpat;$dstpat;"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.move-79- else ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-58- rp='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:59: for pe in `IFS="$IFS/"; echo $namelist`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-60- rp="../$rp" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-87- for dir in $paths; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:88: dir=`echo $dir | sed -e 's;/*$;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-89- nc=99 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-92- perl="$dir/$name" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:93: pv=`$perl -e 'printf("%.3f", $]);'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-94- echo "$pv:$pc:$nc:$perl" >>$tmpfile ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-96- fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:97: nc=`expr $nc - 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-98- done shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:99: pc=`expr $pc - 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-100- done shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-101- if [ $found = 1 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:102: perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-103- rm -f $tmpfile >/dev/null 2>&1 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-118- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:119: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-120- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-123- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:124: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-125- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-127- for path in $paths /lib /usr/lib /usr/local/lib; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:128: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-129- if [ $minusx "$path/cpp" ] && [ ! -d "$path/cpp" ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-135- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:136: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-137- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-157- for path in $paths; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:158: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-159- if [ $minusx "$path/$name" ] && [ ! -d "$path/$name" ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-233- # shell script shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path:234: awk=`shtool path -p "${PATH}:." gawk nawk awk` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.path-235- perl=`shtool path -m perl` ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-159- # determine system shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:160: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-161- ST="NetBSD ${r}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-178- # determine system shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:179: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-180- ST="OpenBSD ${r}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-194- # determine system shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:195: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-196- ST="DragonFly ${r}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-238- [ ! -f "/etc/${tagfile}" ] && continue shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:239: n=`echo ${tagfile} | sed -e 's/[_-]release$//' -e 's/[_-]version$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-240- v=`(grep VERSION /etc/${tagfile}; cat /etc/${tagfile}) | grep '[0-9]' | sed -e 'q' |\ ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-245- -e 's/^#.*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:246: case "`util_lower ${n}`" in shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-247- redhat ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:248: if [ ".`egrep '(Red Hat Enterprise Linux|CentOS)' /etc/${tagfile}`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-249- n="<R>ed <H>at <E>nterprise <L>inux" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-336- ST="QNX[ Neutrino RTOS] ${v}" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:337: v=`echo "${v}" | sed -e 's;^\([0-9][0-9]*\.[0-9][0-9]*\).*$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-338- SP="QNX[ Neutrino RTOS] ${v}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-387- # determine system shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:388: v=`echo "${UNAME_RELEASE}" | sed -e 's;^[^0-9]*;;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-389- ST="[HP ]<HP>-<UX ${v}>" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-408- # determine system shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:409: v=`echo "${UNAME_RELEASE}" | sed -e 's;^[VTX];;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-410- ST="[HP ]Tru64 ${v}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-419- if [ -x /usr/sbin/lsdev -a -x /usr/sbin/lsattr ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:420: cpu_id=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:421: if [ ".`/usr/sbin/lsattr -El ${cpu_id} | grep -i powerpc`" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-422- cpu_arch=PPC ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-469- SP="$ST" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:470: v="`(sw_vers) 2>/dev/null | grep 'ProductVersion:' | sed -e 's/^ProductVersion:[^0-9]*\([0-9][0-9.]*\).*$/\1/'`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-471- if [ ".$v" = . ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-473- if [ -f /System/Library/CoreServices/${name}Version.plist ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:474: v=`(defaults read "/System/Library/CoreServices/${name}Version" "ProductVersion") 2>/dev/null` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-475- [ ".$v" != . ] && break ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-528- * ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:529: AT=`echo "${UNAME_MACHINE}" | sed -e "s; ;${opt_C};g"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-530- AP="${AT}" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-554-if [ ".$opt_v" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:555: opt_F=`echo ":$opt_F" | sed -e 's/^://' -e 's/%\([as][cpt]\)/%[\1]/g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-556-elif [ ".$opt_c" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:557: opt_F=`echo ":$opt_F" | sed -e 's/^://' -e 's/%\([as][cpt]\)/%<\1>/g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-558-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-569- *"%[${val_lc}]"* | *"%{${val_lc}}"* | *"%${val_lc}"* | *"%<${val_lc}>"* ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:570: var_uc=`util_upper "$var_lc"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-571- eval "val=\"\$${var_uc}\"" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-647-if [ ".$opt_L" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:648: output=`util_lower "$output"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-649-elif [ ".$opt_U" = .yes ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform:650: output=`util_upper "$output"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.platform-651-fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.prop-30-perl='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.prop:31:for dir in `echo $PATH | sed -e 's/:/ /g'` .; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.prop-32- if [ -f "$dir/perl" ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-54-if [ ".$opt_s" != . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:55: if [ ".`expr $opt_s : '[0-9]*$'`" != .0 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-56- : shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:57: elif [ ".`expr $opt_s : '[0-9]*[Kk]$'`" != .0 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:58: opt_s=`expr $opt_s : '\([0-9]*\)[Kk]$'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:59: opt_s=`expr $opt_s \* 1024` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:60: elif [ ".`expr $opt_s : '[0-9]*[Mm]$'`" != .0 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:61: opt_s=`expr $opt_s : '\([0-9]*\)[Mm]$'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:62: opt_s=`expr $opt_s \* 1048576` # 1024*1024 shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:63: elif [ ".`expr $opt_s : '[0-9]*[Gg]$'`" != .0 ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:64: opt_s=`expr $opt_s : '\([0-9]*\)[Gg]$'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:65: opt_s=`expr $opt_s \* 1073741824` # 1024*1024*1024 shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-66- else ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-168- case $file in shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:169: */* ) eval `echo $file | sed -e 's%^\(.*\)/\([^/]*\)$%ldir="\1"; file="\2";%'` ;; shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-170- esac ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-185- sed -e 's; -> .*$;;' -e 's;[ ][ ]*; ;g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:186: n=`expr $# - 3` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:187: eval "size=\`echo \${$n}\`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-188- ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-212- # kick away out-rotated logfile shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:213: n=`expr $opt_n - 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:214: n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-215- if [ -f "${adir}/${file}.${n}${comp_suf}" ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-233- m=$n shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:234: n=`expr $n - 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate:235: n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.rotate-236- if [ $n -eq 0 ] && [ ".$opt_d" = .yes ]; then ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-49- # split argument into option plus option argument shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:50: arg="`echo $opt | cut -c3-`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:51: opt="`echo $opt | cut -c1-2`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-52- # store into containers ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-92- OIFS3="$IFS"; IFS="$DIFS" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:93: for file in '' `cd $dir && env -i /bin/ls lib${lib}.* 2>/dev/null`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-94- [ ".$file" = . ] && continue ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-133- LIBS_OBJ="$LIBS_OBJ:$lib" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:134: #dirlist="`echo $DIRS $DIRS_DEFAULT | sed -e 's/:/ /g'`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-135- #echo "slo:Warning: library \"$lib\" not found in any of the following dirs:" 2>&1 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-175- eval "val=\"\$${var}\"" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:176: val="`echo $val | sed -e 's/^ *//'`" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-177- echo "${opt_p}${var}=\"${val}\"" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-248- LINK_STD="$LDFLAGS $LIBS" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo:249: eval `shtool slo $LINK_STD` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.slo-250- LINK_DSO="$SLO_DIRS_OBJ $SLO_LIBS_OBJ $SLO_DIRS_PIC $SLO_LIBS_PIC" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.subst-98- (diff -U1 $file $file.new >$tmpfile) 2>/dev/null shtool-2.0.8/.pc/30_fix-manpages.patch/sh.subst:99: if [ ".`cat $tmpfile`" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.subst-100- (diff -C1 $file $file.new >$tmpfile) 2>/dev/null shtool-2.0.8/.pc/30_fix-manpages.patch/sh.subst:101: if [ ".`cat $tmpfile`" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.subst-102- echo "$msgprefix:Warning: unable to show difference for file \`$file'" 1>&2 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-52-for spec in find:gfind,find tar:gtar,tar tardy:tardy,tarcust; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:53: prg=`echo $spec | sed -e 's/:.*$//'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:54: tools=`echo $spec | sed -e 's/^.*://'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-55- eval "prg_${prg}=''" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-56- # iterate over tools shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:57: for tool in `echo $tools | sed -e 's/,/ /g'`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-58- # iterate over paths ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-73-exclude='' shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:74:for pat in `echo $opt_e | sed 's/,/ /g'`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-75- exclude="$exclude | grep -v '$pat'" ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-106- else shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:107: tarname=`echo $tarfile | sed -e 's/\.tar.*$//' -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-108- fi ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-112- elif [ -d "$from" ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball:113: tarname=`echo $from | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.tarball-114- else ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-45- # use given triple shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:46: if [ ".`echo $triple | grep '[0-9]*.[0-9]*[sabp.][0-9]*'`" = . ]; then shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-47- echo "$msgprefix:Error: invalid argument to option \`-s': \`$opt_s'" 1>&2 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-70- case $opt_i in shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:71: v ) ver=`expr $ver + 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-72- rev=0 ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-74- ;; shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:75: r ) rev=`expr $rev + 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-76- lev=0 shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-77- ;; shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:78: l ) lev=`expr $lev + 1` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-79- ;; ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-193- # (do NOT try to optimize this in any way because of portability) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:194: filestr=`util_upper "$file" | tr './%+' '____' | sed -e 's/-/_/g'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-195- shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-196- # generate uppercase prefix shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version:197: prefixupper=`util_upper "$prefix"` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.version-198- ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-36-# walk through the file list and expand archives members shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx:37:ar_tmpdir=`echo $archive | sed -e 's;[^/]*$;.arx;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-38-nfiles='' ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-57- * ) shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx:58: dir=`echo $file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;' -e 's;^$;.;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx:59: base=`echo $file | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx:60: from="`cd $dir; pwd`/$base" shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-61- ;; ############################################## shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-70- fi shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx:71: for member in - `eval $ar_prg t $file | sed -e '/_\.SYMDEF/d'`; do shtool-2.0.8/.pc/30_fix-manpages.patch/sh.arx-72- [ ".$member" = .- ] && continue ############################################## shtool-2.0.8/sh.echo-34-seo='' shtool-2.0.8/sh.echo:35:bytes=`echo '\1' | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/sh.echo-36-if [ ".$bytes" != .3 ]; then shtool-2.0.8/sh.echo:37: bytes=`echo -E '\1' | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/sh.echo-38- if [ ".$bytes" = .3 ]; then ############################################## shtool-2.0.8/sh.echo-44-minusn='' shtool-2.0.8/sh.echo:45:bytes=`echo -n 123 2>/dev/null | wc -c | awk '{ printf("%s", $1); }'` shtool-2.0.8/sh.echo-46-if [ ".$bytes" = .3 ]; then ############################################## shtool-2.0.8/sh.echo-52-term_norm='' shtool-2.0.8/sh.echo:53:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[Bb]'`" != . ]; then shtool-2.0.8/sh.echo-54- case $TERM in ############################################## shtool-2.0.8/sh.echo-65- * ) shtool-2.0.8/sh.echo:66: paths=`echo $PATH | sed -e 's/:/ /g'` shtool-2.0.8/sh.echo-67- for tool in tput tcout; do ############################################## shtool-2.0.8/sh.echo-70- for seq in bold md smso; do # 'smso' is last shtool-2.0.8/sh.echo:71: bold="`$dir/$tool $seq 2>/dev/null`" shtool-2.0.8/sh.echo-72- if [ ".$bold" != . ]; then ############################################## shtool-2.0.8/sh.echo-78- for seq in sgr0 me rmso init reset; do # 'reset' is last shtool-2.0.8/sh.echo:79: norm="`$dir/$tool $seq 2>/dev/null`" shtool-2.0.8/sh.echo-80- if [ ".$norm" != . ]; then ############################################## shtool-2.0.8/sh.echo-103-username='' shtool-2.0.8/sh.echo:104:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[uUgG]'`" != . ]; then shtool-2.0.8/sh.echo-105- username="`(id -un) 2>/dev/null`" ############################################## shtool-2.0.8/sh.echo-107- str="`(id) 2>/dev/null`" shtool-2.0.8/sh.echo:108: if [ ".`echo $str | grep '^uid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/sh.echo:109: username=`echo $str | sed -e 's/^uid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'` shtool-2.0.8/sh.echo-110- fi ############################################## shtool-2.0.8/sh.echo-132-userid='' shtool-2.0.8/sh.echo:133:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%U'`" != . ]; then shtool-2.0.8/sh.echo-134- userid="`(id -u) 2>/dev/null`" shtool-2.0.8/sh.echo-135- if [ ".$userid" = . ]; then shtool-2.0.8/sh.echo:136: userid="`(id -u ${username}) 2>/dev/null`" shtool-2.0.8/sh.echo-137- if [ ".$userid" = . ]; then shtool-2.0.8/sh.echo-138- str="`(id) 2>/dev/null`" shtool-2.0.8/sh.echo:139: if [ ".`echo $str | grep '^uid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/sh.echo:140: userid=`echo $str | sed -e 's/^uid[ ]*=[ ]*//' -e 's/(.*$//'` shtool-2.0.8/sh.echo-141- fi ############################################## shtool-2.0.8/sh.echo-166-groupid='' shtool-2.0.8/sh.echo:167:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[gG]'`" != . ]; then shtool-2.0.8/sh.echo:168: groupid="`(id -g ${username}) 2>/dev/null`" shtool-2.0.8/sh.echo-169- if [ ".$groupid" = . ]; then shtool-2.0.8/sh.echo-170- str="`(id) 2>/dev/null`" shtool-2.0.8/sh.echo:171: if [ ".`echo $str | grep 'gid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/sh.echo:172: groupid=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*//' -e 's/(.*$//'` shtool-2.0.8/sh.echo-173- fi ############################################## shtool-2.0.8/sh.echo-197-groupname='' shtool-2.0.8/sh.echo:198:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%g'`" != . ]; then shtool-2.0.8/sh.echo:199: groupname="`(id -gn ${username}) 2>/dev/null`" shtool-2.0.8/sh.echo-200- if [ ".$groupname" = . ]; then shtool-2.0.8/sh.echo-201- str="`(id) 2>/dev/null`" shtool-2.0.8/sh.echo:202: if [ ".`echo $str | grep 'gid[ ]*=[ ]*[0-9]*('`" != . ]; then shtool-2.0.8/sh.echo:203: groupname=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'` shtool-2.0.8/sh.echo-204- fi ############################################## shtool-2.0.8/sh.echo-232-domainname='' shtool-2.0.8/sh.echo:233:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%h'`" != . ]; then shtool-2.0.8/sh.echo-234- hostname="`(uname -n) 2>/dev/null |\ ############################################## shtool-2.0.8/sh.echo-244- *.* ) shtool-2.0.8/sh.echo:245: domainname=".`echo $hostname | cut -d. -f2-`" shtool-2.0.8/sh.echo:246: hostname="`echo $hostname | cut -d. -f1`" shtool-2.0.8/sh.echo-247- ;; ############################################## shtool-2.0.8/sh.echo-249-fi shtool-2.0.8/sh.echo:250:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%d'`" != . ]; then shtool-2.0.8/sh.echo-251- if [ ".$domainname" = . ]; then ############################################## shtool-2.0.8/sh.echo-274-time_monthname='' shtool-2.0.8/sh.echo:275:if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[DMYm]'`" != . ]; then shtool-2.0.8/sh.echo-276- time_day=`date '+%d'` ############################################## shtool-2.0.8/sh.fixperm-41-for p in $paths; do shtool-2.0.8/sh.fixperm:42: for file in `find $p -depth -print`; do shtool-2.0.8/sh.fixperm-43- if [ -f $file ]; then ############################################## shtool-2.0.8/sh.install-72-if [ -d $dstpath ]; then shtool-2.0.8/sh.install:73: dstpath=`echo "$dstpath" | sed -e 's:/$::'` shtool-2.0.8/sh.install-74- dstisdir=1 ############################################## shtool-2.0.8/sh.install-88- if [ $dstisdir = 1 ]; then shtool-2.0.8/sh.install:89: dstfile=`echo "$src" | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.install-90- dst="$dst/$dstfile" ############################################## shtool-2.0.8/sh.mdate-58-if /bin/ls -L /dev/null >/dev/null 2>&1; then shtool-2.0.8/sh.mdate:59: set - x`/bin/ls -L -l -d $fod` shtool-2.0.8/sh.mdate-60-else shtool-2.0.8/sh.mdate:61: set - x`/bin/ls -l -d $fod` shtool-2.0.8/sh.mdate-62-fi ############################################## shtool-2.0.8/sh.mdate-105- if (expr $nummonth \> $this_month) >/dev/null; then shtool-2.0.8/sh.mdate:106: this_year=`expr $this_year - 1` shtool-2.0.8/sh.mdate-107- fi ############################################## shtool-2.0.8/sh.mdate-130-if [ ".$opt_s" = .yes ]; then shtool-2.0.8/sh.mdate:131: month=`echo $month | cut -c1-3` shtool-2.0.8/sh.mdate-132-fi ############################################## shtool-2.0.8/sh.mkln-71- if [ -d $src ]; then shtool-2.0.8/sh.mkln:72: srcdir=`echo $src | sed -e 's;/*$;;'` shtool-2.0.8/sh.mkln-73- srcbase="" shtool-2.0.8/sh.mkln-74- else shtool-2.0.8/sh.mkln:75: srcdir=`echo $src | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` shtool-2.0.8/sh.mkln:76: srcbase=`echo $src | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.mkln-77- fi shtool-2.0.8/sh.mkln-78- if [ -d $dst ]; then shtool-2.0.8/sh.mkln:79: dstdir=`echo $dst | sed -e 's;/*$;;'` shtool-2.0.8/sh.mkln-80- dstbase="" shtool-2.0.8/sh.mkln-81- else shtool-2.0.8/sh.mkln:82: dstdir=`echo $dst | sed -e 's;^[^/]*$;;' -e 's;^\(.*/\)[^/]*$;\1;' -e 's;\(.\)/$;\1;'` shtool-2.0.8/sh.mkln:83: dstbase=`echo $dst | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.mkln-84- fi ############################################## shtool-2.0.8/sh.mkln-97- if [ ".$srcdir" = . ]; then shtool-2.0.8/sh.mkln:98: srcdir="`pwd | sed -e 's;/*$;;'`" shtool-2.0.8/sh.mkln-99- srcisabs=1 ############################################## shtool-2.0.8/sh.mkln-101- elif [ -d $srcdir ]; then shtool-2.0.8/sh.mkln:102: srcdir="`cd $srcdir; pwd | sed -e 's;/*$;;'`" shtool-2.0.8/sh.mkln-103- srcisabs=1 ############################################## shtool-2.0.8/sh.mkln-116- while [ ".$srcdir" != . ] && [ ".$dstdir" != . ]; do shtool-2.0.8/sh.mkln:117: presrc=`echo $srcdir | sed -e 's;^\([^/]*\)/.*;\1;'` shtool-2.0.8/sh.mkln:118: predst=`echo $dstdir | sed -e 's;^\([^/]*\)/.*;\1;'` shtool-2.0.8/sh.mkln-119- if [ ".$presrc" != ".$predst" ]; then ############################################## shtool-2.0.8/sh.mkln-122- prefix="$prefix$presrc/" shtool-2.0.8/sh.mkln:123: srcdir=`echo $srcdir | sed -e 's;^[^/]*/*;;'` shtool-2.0.8/sh.mkln:124: dstdir=`echo $dstdir | sed -e 's;^[^/]*/*;;'` shtool-2.0.8/sh.mkln-125- done ############################################## shtool-2.0.8/sh.mkln-163- else shtool-2.0.8/sh.mkln:164: dstbase=`echo "$prefix$srcdir" | sed -e 's;/*$;;' -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.mkln-165- fi ############################################## shtool-2.0.8/sh.mkln-168- # now finalize source and destination directory paths shtool-2.0.8/sh.mkln:169: srcdir=`echo $srcdir | sed -e 's;\([^/]\)$;\1/;'` shtool-2.0.8/sh.mkln:170: dstdir=`echo $dstdir | sed -e 's;\([^/]\)$;\1/;'` shtool-2.0.8/sh.mkln-171- ############################################## shtool-2.0.8/sh.mkshadow-32-# source and destination directory shtool-2.0.8/sh.mkshadow:33:src=`echo "$1" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/sh.mkshadow:34:dst=`echo "$2" | sed -e 's:/$::' -e 's:^\./\(.\):\1:'` shtool-2.0.8/sh.mkshadow-35- ############################################## shtool-2.0.8/sh.mkshadow-72-else shtool-2.0.8/sh.mkshadow:73: src="`cd $src; pwd`"; shtool-2.0.8/sh.mkshadow-74-fi ############################################## shtool-2.0.8/sh.mkshadow-112- fi shtool-2.0.8/sh.mkshadow:113: basename=`echo $file | sed -e 's:^.*/::'` shtool-2.0.8/sh.mkshadow:114: dir=`echo $file | sed -e 's:[^/]*$::' -e 's:/$::' -e 's:$:/:' -e 's:^/$::'` shtool-2.0.8/sh.mkshadow:115: from=`echo "$src/$file" | sed -e 's/^\.\///'` shtool-2.0.8/sh.mkshadow-116- to="$dst/$dir$basename" ############################################## shtool-2.0.8/sh.mkshadow-118- if [ ".$dir" != . ]; then shtool-2.0.8/sh.mkshadow:119: subdir=`echo $dir | sed -e 's:/$::'` shtool-2.0.8/sh.mkshadow-120- # derive reverse path from forward path ############################################## shtool-2.0.8/sh.move-46-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/sh.move:47: expsrc="`echo $expsrc`" shtool-2.0.8/sh.move-48-fi shtool-2.0.8/sh.move-49-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/sh.move:50: if [ ".`echo "$src" | sed -e 's;^.*\\*.*$;;'`" = ".$src" ]; then shtool-2.0.8/sh.move-51- echo "$msgprefix:Error: Source doesn't contain wildcard ('*'): $dst" 1>&2 ############################################## shtool-2.0.8/sh.move-53- fi shtool-2.0.8/sh.move:54: if [ ".`echo "$dst" | sed -e 's;^.*%[1-9].*$;;'`" = ".$dst" ]; then shtool-2.0.8/sh.move-55- echo "$msgprefix:Error: Destination doesn't contain substitution ('%N'): $dst" 1>&2 ############################################## shtool-2.0.8/sh.move-70-if [ ".$opt_e" = .yes ]; then shtool-2.0.8/sh.move:71: srcpat=`echo "$src" | sed -e 's/\\./\\\\./g' -e 's/;/\\;/g' -e 's;\\*;\\\\(.*\\\\);g'` shtool-2.0.8/sh.move:72: dstpat=`echo "$dst" | sed -e 's;%\([1-9]\);\\\\\1;g'` shtool-2.0.8/sh.move-73-fi ############################################## shtool-2.0.8/sh.move-77- if [ .$opt_e = .yes ]; then shtool-2.0.8/sh.move:78: onedst=`echo $onesrc | sed -e "s;$srcpat;$dstpat;"` shtool-2.0.8/sh.move-79- else ############################################## shtool-2.0.8/sh.path-58- rp='' shtool-2.0.8/sh.path:59: for pe in `IFS="$IFS/"; echo $namelist`; do shtool-2.0.8/sh.path-60- rp="../$rp" ############################################## shtool-2.0.8/sh.path-87- for dir in $paths; do shtool-2.0.8/sh.path:88: dir=`echo $dir | sed -e 's;/*$;;'` shtool-2.0.8/sh.path-89- nc=99 ############################################## shtool-2.0.8/sh.path-92- perl="$dir/$name" shtool-2.0.8/sh.path:93: pv=`$perl -e 'printf("%.3f", $]);'` shtool-2.0.8/sh.path-94- echo "$pv:$pc:$nc:$perl" >>$tmpfile ############################################## shtool-2.0.8/sh.path-96- fi shtool-2.0.8/sh.path:97: nc=`expr $nc - 1` shtool-2.0.8/sh.path-98- done shtool-2.0.8/sh.path:99: pc=`expr $pc - 1` shtool-2.0.8/sh.path-100- done shtool-2.0.8/sh.path-101- if [ $found = 1 ]; then shtool-2.0.8/sh.path:102: perl="`cat $tmpfile | sort -r -u | sed -e 'q' | cut -d: -f4`" shtool-2.0.8/sh.path-103- rm -f $tmpfile >/dev/null 2>&1 ############################################## shtool-2.0.8/sh.path-118- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/sh.path:119: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/sh.path-120- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/sh.path-123- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/sh.path:124: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/sh.path-125- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/sh.path-127- for path in $paths /lib /usr/lib /usr/local/lib; do shtool-2.0.8/sh.path:128: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/sh.path-129- if [ $minusx "$path/cpp" ] && [ ! -d "$path/cpp" ]; then ############################################## shtool-2.0.8/sh.path-135- (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out shtool-2.0.8/sh.path:136: my_error=`grep -v '^ *+' $tmpfile.out` shtool-2.0.8/sh.path-137- if [ ".$my_error" != . ]; then ############################################## shtool-2.0.8/sh.path-157- for path in $paths; do shtool-2.0.8/sh.path:158: path=`echo $path | sed -e 's;/*$;;'` shtool-2.0.8/sh.path-159- if [ $minusx "$path/$name" ] && [ ! -d "$path/$name" ]; then ############################################## shtool-2.0.8/sh.path-233- # shell script shtool-2.0.8/sh.path:234: awk=`shtool path -p "${PATH}:." gawk nawk awk` shtool-2.0.8/sh.path-235- perl=`shtool path -m perl` ############################################## shtool-2.0.8/sh.platform-159- # determine system shtool-2.0.8/sh.platform:160: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/sh.platform-161- ST="NetBSD ${r}" ############################################## shtool-2.0.8/sh.platform-178- # determine system shtool-2.0.8/sh.platform:179: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/sh.platform-180- ST="OpenBSD ${r}" ############################################## shtool-2.0.8/sh.platform-194- # determine system shtool-2.0.8/sh.platform:195: r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'` shtool-2.0.8/sh.platform-196- ST="DragonFly ${r}" ############################################## shtool-2.0.8/sh.platform-238- [ ! -f "/etc/${tagfile}" ] && continue shtool-2.0.8/sh.platform:239: n=`echo ${tagfile} | sed -e 's/[_-]release$//' -e 's/[_-]version$//'` shtool-2.0.8/sh.platform-240- v=`(grep VERSION /etc/${tagfile}; cat /etc/${tagfile}) | grep '[0-9]' | sed -e 'q' |\ ############################################## shtool-2.0.8/sh.platform-245- -e 's/^#.*$//'` shtool-2.0.8/sh.platform:246: case "`util_lower ${n}`" in shtool-2.0.8/sh.platform-247- redhat ) shtool-2.0.8/sh.platform:248: if [ ".`egrep '(Red Hat Enterprise Linux|CentOS)' /etc/${tagfile}`" != . ]; then shtool-2.0.8/sh.platform-249- n="<R>ed <H>at <E>nterprise <L>inux" ############################################## shtool-2.0.8/sh.platform-336- ST="QNX[ Neutrino RTOS] ${v}" shtool-2.0.8/sh.platform:337: v=`echo "${v}" | sed -e 's;^\([0-9][0-9]*\.[0-9][0-9]*\).*$;\1;'` shtool-2.0.8/sh.platform-338- SP="QNX[ Neutrino RTOS] ${v}" ############################################## shtool-2.0.8/sh.platform-387- # determine system shtool-2.0.8/sh.platform:388: v=`echo "${UNAME_RELEASE}" | sed -e 's;^[^0-9]*;;'` shtool-2.0.8/sh.platform-389- ST="[HP ]<HP>-<UX ${v}>" ############################################## shtool-2.0.8/sh.platform-408- # determine system shtool-2.0.8/sh.platform:409: v=`echo "${UNAME_RELEASE}" | sed -e 's;^[VTX];;'` shtool-2.0.8/sh.platform-410- ST="[HP ]Tru64 ${v}" ############################################## shtool-2.0.8/sh.platform-419- if [ -x /usr/sbin/lsdev -a -x /usr/sbin/lsattr ]; then shtool-2.0.8/sh.platform:420: cpu_id=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` shtool-2.0.8/sh.platform:421: if [ ".`/usr/sbin/lsattr -El ${cpu_id} | grep -i powerpc`" != . ]; then shtool-2.0.8/sh.platform-422- cpu_arch=PPC ############################################## shtool-2.0.8/sh.platform-469- SP="$ST" shtool-2.0.8/sh.platform:470: v="`(sw_vers) 2>/dev/null | grep 'ProductVersion:' | sed -e 's/^ProductVersion:[^0-9]*\([0-9][0-9.]*\).*$/\1/'`" shtool-2.0.8/sh.platform-471- if [ ".$v" = . ]; then ############################################## shtool-2.0.8/sh.platform-473- if [ -f /System/Library/CoreServices/${name}Version.plist ]; then shtool-2.0.8/sh.platform:474: v=`(defaults read "/System/Library/CoreServices/${name}Version" "ProductVersion") 2>/dev/null` shtool-2.0.8/sh.platform-475- [ ".$v" != . ] && break ############################################## shtool-2.0.8/sh.platform-528- * ) shtool-2.0.8/sh.platform:529: AT=`echo "${UNAME_MACHINE}" | sed -e "s; ;${opt_C};g"` shtool-2.0.8/sh.platform-530- AP="${AT}" ############################################## shtool-2.0.8/sh.platform-554-if [ ".$opt_v" = .yes ]; then shtool-2.0.8/sh.platform:555: opt_F=`echo ":$opt_F" | sed -e 's/^://' -e 's/%\([as][cpt]\)/%[\1]/g'` shtool-2.0.8/sh.platform-556-elif [ ".$opt_c" = .yes ]; then shtool-2.0.8/sh.platform:557: opt_F=`echo ":$opt_F" | sed -e 's/^://' -e 's/%\([as][cpt]\)/%<\1>/g'` shtool-2.0.8/sh.platform-558-fi ############################################## shtool-2.0.8/sh.platform-569- *"%[${val_lc}]"* | *"%{${val_lc}}"* | *"%${val_lc}"* | *"%<${val_lc}>"* ) shtool-2.0.8/sh.platform:570: var_uc=`util_upper "$var_lc"` shtool-2.0.8/sh.platform-571- eval "val=\"\$${var_uc}\"" ############################################## shtool-2.0.8/sh.platform-647-if [ ".$opt_L" = .yes ]; then shtool-2.0.8/sh.platform:648: output=`util_lower "$output"` shtool-2.0.8/sh.platform-649-elif [ ".$opt_U" = .yes ]; then shtool-2.0.8/sh.platform:650: output=`util_upper "$output"` shtool-2.0.8/sh.platform-651-fi ############################################## shtool-2.0.8/sh.prop-30-perl='' shtool-2.0.8/sh.prop:31:for dir in `echo $PATH | sed -e 's/:/ /g'` .; do shtool-2.0.8/sh.prop-32- if [ -f "$dir/perl" ]; then ############################################## shtool-2.0.8/sh.rotate-54-if [ ".$opt_s" != . ]; then shtool-2.0.8/sh.rotate:55: if [ ".`expr $opt_s : '[0-9]*$'`" != .0 ]; then shtool-2.0.8/sh.rotate-56- : shtool-2.0.8/sh.rotate:57: elif [ ".`expr $opt_s : '[0-9]*[Kk]$'`" != .0 ]; then shtool-2.0.8/sh.rotate:58: opt_s=`expr $opt_s : '\([0-9]*\)[Kk]$'` shtool-2.0.8/sh.rotate:59: opt_s=`expr $opt_s \* 1024` shtool-2.0.8/sh.rotate:60: elif [ ".`expr $opt_s : '[0-9]*[Mm]$'`" != .0 ]; then shtool-2.0.8/sh.rotate:61: opt_s=`expr $opt_s : '\([0-9]*\)[Mm]$'` shtool-2.0.8/sh.rotate:62: opt_s=`expr $opt_s \* 1048576` # 1024*1024 shtool-2.0.8/sh.rotate:63: elif [ ".`expr $opt_s : '[0-9]*[Gg]$'`" != .0 ]; then shtool-2.0.8/sh.rotate:64: opt_s=`expr $opt_s : '\([0-9]*\)[Gg]$'` shtool-2.0.8/sh.rotate:65: opt_s=`expr $opt_s \* 1073741824` # 1024*1024*1024 shtool-2.0.8/sh.rotate-66- else ############################################## shtool-2.0.8/sh.rotate-168- case $file in shtool-2.0.8/sh.rotate:169: */* ) eval `echo $file | sed -e 's%^\(.*\)/\([^/]*\)$%ldir="\1"; file="\2";%'` ;; shtool-2.0.8/sh.rotate-170- esac ############################################## shtool-2.0.8/sh.rotate-185- sed -e 's; -> .*$;;' -e 's;[ ][ ]*; ;g'` shtool-2.0.8/sh.rotate:186: n=`expr $# - 3` shtool-2.0.8/sh.rotate:187: eval "size=\`echo \${$n}\`" shtool-2.0.8/sh.rotate-188- ############################################## shtool-2.0.8/sh.rotate-212- # kick away out-rotated logfile shtool-2.0.8/sh.rotate:213: n=`expr $opt_n - 1` shtool-2.0.8/sh.rotate:214: n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` shtool-2.0.8/sh.rotate-215- if [ -f "${adir}/${file}.${n}${comp_suf}" ]; then ############################################## shtool-2.0.8/sh.rotate-233- m=$n shtool-2.0.8/sh.rotate:234: n=`expr $n - 1` shtool-2.0.8/sh.rotate:235: n=`echo dummy | awk "{ printf(\"%0${opt_p}d\", n); }" n=$n` shtool-2.0.8/sh.rotate-236- if [ $n -eq 0 ] && [ ".$opt_d" = .yes ]; then ############################################## shtool-2.0.8/sh.slo-49- # split argument into option plus option argument shtool-2.0.8/sh.slo:50: arg="`echo $opt | cut -c3-`" shtool-2.0.8/sh.slo:51: opt="`echo $opt | cut -c1-2`" shtool-2.0.8/sh.slo-52- # store into containers ############################################## shtool-2.0.8/sh.slo-92- OIFS3="$IFS"; IFS="$DIFS" shtool-2.0.8/sh.slo:93: for file in '' `cd $dir && env -i /bin/ls lib${lib}.* 2>/dev/null`; do shtool-2.0.8/sh.slo-94- [ ".$file" = . ] && continue ############################################## shtool-2.0.8/sh.slo-133- LIBS_OBJ="$LIBS_OBJ:$lib" shtool-2.0.8/sh.slo:134: #dirlist="`echo $DIRS $DIRS_DEFAULT | sed -e 's/:/ /g'`" shtool-2.0.8/sh.slo-135- #echo "slo:Warning: library \"$lib\" not found in any of the following dirs:" 2>&1 ############################################## shtool-2.0.8/sh.slo-175- eval "val=\"\$${var}\"" shtool-2.0.8/sh.slo:176: val="`echo $val | sed -e 's/^ *//'`" shtool-2.0.8/sh.slo-177- echo "${opt_p}${var}=\"${val}\"" ############################################## shtool-2.0.8/sh.slo-248- LINK_STD="$LDFLAGS $LIBS" shtool-2.0.8/sh.slo:249: eval `shtool slo $LINK_STD` shtool-2.0.8/sh.slo-250- LINK_DSO="$SLO_DIRS_OBJ $SLO_LIBS_OBJ $SLO_DIRS_PIC $SLO_LIBS_PIC" ############################################## shtool-2.0.8/sh.subst-98- (diff -U1 $file $file.new >$tmpfile) 2>/dev/null shtool-2.0.8/sh.subst:99: if [ ".`cat $tmpfile`" = . ]; then shtool-2.0.8/sh.subst-100- (diff -C1 $file $file.new >$tmpfile) 2>/dev/null shtool-2.0.8/sh.subst:101: if [ ".`cat $tmpfile`" = . ]; then shtool-2.0.8/sh.subst-102- echo "$msgprefix:Warning: unable to show difference for file \`$file'" 1>&2 ############################################## shtool-2.0.8/sh.tarball-52-for spec in find:gfind,find tar:gtar,tar tardy:tardy,tarcust; do shtool-2.0.8/sh.tarball:53: prg=`echo $spec | sed -e 's/:.*$//'` shtool-2.0.8/sh.tarball:54: tools=`echo $spec | sed -e 's/^.*://'` shtool-2.0.8/sh.tarball-55- eval "prg_${prg}=''" shtool-2.0.8/sh.tarball-56- # iterate over tools shtool-2.0.8/sh.tarball:57: for tool in `echo $tools | sed -e 's/,/ /g'`; do shtool-2.0.8/sh.tarball-58- # iterate over paths ############################################## shtool-2.0.8/sh.tarball-73-exclude='' shtool-2.0.8/sh.tarball:74:for pat in `echo $opt_e | sed 's/,/ /g'`; do shtool-2.0.8/sh.tarball-75- exclude="$exclude | grep -v '$pat'" ############################################## shtool-2.0.8/sh.tarball-106- else shtool-2.0.8/sh.tarball:107: tarname=`echo $tarfile | sed -e 's/\.tar.*$//' -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.tarball-108- fi ############################################## shtool-2.0.8/sh.tarball-112- elif [ -d "$from" ]; then shtool-2.0.8/sh.tarball:113: tarname=`echo $from | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.tarball-114- else ############################################## shtool-2.0.8/sh.version-45- # use given triple shtool-2.0.8/sh.version:46: if [ ".`echo $triple | grep '[0-9]*.[0-9]*[sabp.][0-9]*'`" = . ]; then shtool-2.0.8/sh.version-47- echo "$msgprefix:Error: invalid argument to option \`-s': \`$opt_s'" 1>&2 ############################################## shtool-2.0.8/sh.version-70- case $opt_i in shtool-2.0.8/sh.version:71: v ) ver=`expr $ver + 1` shtool-2.0.8/sh.version-72- rev=0 ############################################## shtool-2.0.8/sh.version-74- ;; shtool-2.0.8/sh.version:75: r ) rev=`expr $rev + 1` shtool-2.0.8/sh.version-76- lev=0 shtool-2.0.8/sh.version-77- ;; shtool-2.0.8/sh.version:78: l ) lev=`expr $lev + 1` shtool-2.0.8/sh.version-79- ;; ############################################## shtool-2.0.8/sh.version-193- # (do NOT try to optimize this in any way because of portability) shtool-2.0.8/sh.version:194: filestr=`util_upper "$file" | tr './%+' '____' | sed -e 's/-/_/g'` shtool-2.0.8/sh.version-195- shtool-2.0.8/sh.version-196- # generate uppercase prefix shtool-2.0.8/sh.version:197: prefixupper=`util_upper "$prefix"` shtool-2.0.8/sh.version-198- ############################################## shtool-2.0.8/sh.arx-36-# walk through the file list and expand archives members shtool-2.0.8/sh.arx:37:ar_tmpdir=`echo $archive | sed -e 's;[^/]*$;.arx;'` shtool-2.0.8/sh.arx-38-nfiles='' ############################################## shtool-2.0.8/sh.arx-57- * ) shtool-2.0.8/sh.arx:58: dir=`echo $file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;' -e 's;^$;.;'` shtool-2.0.8/sh.arx:59: base=`echo $file | sed -e 's;.*/\([^/]*\)$;\1;'` shtool-2.0.8/sh.arx:60: from="`cd $dir; pwd`/$base" shtool-2.0.8/sh.arx-61- ;; ############################################## shtool-2.0.8/sh.arx-70- fi shtool-2.0.8/sh.arx:71: for member in - `eval $ar_prg t $file | sed -e '/_\.SYMDEF/d'`; do shtool-2.0.8/sh.arx-72- [ ".$member" = .- ] && continue