=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== di-4.47/tests.d/diarg.sh-12- as=$a di-4.47/tests.d/diarg.sh:13: a=`echo $a | sed 's/_/ /g'` di-4.47/tests.d/diarg.sh-14- of="out.${d}.${as}" ############################################## di-4.47/tests.d/diarg.sh-16- cmd="${tdir}/di ${a} > ${of}" di-4.47/tests.d/diarg.sh:17: o=`eval $cmd 2>&1` di-4.47/tests.d/diarg.sh-18- rc=$? ############################################## di-4.47/tests.d/ditot.sh-36- # ctfs,objfs,sharefs have weird used inode counts (U) di-4.47/tests.d/ditot.sh:37: didata=`${tdir}/di -n -d1 -f $format -t -a -x null,zfs,ctfs,objfs,sharefs 2>/dev/null ` di-4.47/tests.d/ditot.sh:38: summtot=`(echo "0 ";echo $didata | sed 's/ */ + /g'; echo " - p") | dc` di-4.47/tests.d/ditot.sh-39- if [ $summtot -ne 0 ]; then ############################################## di-4.47/Makefile-134- (cd po >/dev/null && for i in *.po; do \ di-4.47/Makefile:135: j=`echo $$i | $(SED) 's,\\.po$$,,'`; \ di-4.47/Makefile-136- $${XMSGFMT} -o $$j.mo $$i; \ ############################################## di-4.47/Makefile-142- -(cd po >/dev/null && for i in *.po; do \ di-4.47/Makefile:143: j=`echo $$i | $(SED) 's,\\.po$$,,'`; \ di-4.47/Makefile-144- $(TEST) -d $(INST_LOCALEDIR)/$$j || \ ############################################## di-4.47/mktar.sh-2- di-4.47/mktar.sh:3:ver=`grep DI_VERSION C/version.h | sed -e 's/"$//' -e 's/.*"//'` di-4.47/mktar.sh-4- ############################################## di-4.47/mktar.sh-17- else di-4.47/mktar.sh:18: d=`dirname $f` di-4.47/mktar.sh-19- cp $f $dir/$d ############################################## di-4.47/C/tests.d/rpmbuild.sh-29- di-4.47/C/tests.d/rpmbuild.sh:30:DI_VERSION=`grep DI_VERSION version.h | sed -e 's/"$//' -e 's/.*"//'` di-4.47/C/tests.d/rpmbuild.sh-31- ############################################## di-4.47/C/Makefile-404-perlfilesysdi.bld: $(MKC_REQLIB) $(LIBOBJECTS) di-4.47/C/Makefile:405: @echo "*** Using libs: `$(CAT) $(MKC_REQLIB)`" di-4.47/C/Makefile-406- @$(_MKCONFIG_SHELL) $(MKC_DIR)/mkc.sh -staticlib $(MKC_ECHO) \ di-4.47/C/Makefile-407- -o libdiperl.a $(LIBOBJECTS) $(LIBS) \ di-4.47/C/Makefile:408: `$(CAT) $(MKC_REQLIB)` di-4.47/C/Makefile-409- # Don't know how to pass additional libs to Makefile.PL ############################################## di-4.47/C/Makefile-412- cd Perl ; \ di-4.47/C/Makefile:413: perl Makefile.PL LIBS="-L.. -ldiperl `$(CAT) ../$(MKC_REQLIB)`" ; \ di-4.47/C/Makefile-414- make ; \ ############################################## di-4.47/C/Makefile-524- getoptn_test$(OBJ_EXT) \ di-4.47/C/Makefile:525: `$(CAT) getoptn.reqlibs` di-4.47/C/Makefile-526- ############################################## di-4.47/mkconfig/mkconfig.pl-349- { di-4.47/mkconfig/mkconfig.pl:350: $rc = system ("./$name.exe > $name.out"); di-4.47/mkconfig/mkconfig.pl-351- if ($rc & 127) { exitmkconfig ($rc); } ############################################## di-4.47/mkconfig/mkconfig.pl-383- di-4.47/mkconfig/mkconfig.pl:384: my $rc = system ("cat $name.c >> $LOG"); di-4.47/mkconfig/mkconfig.pl-385- if ($rc & 127) { exitmkconfig ($rc); } ############################################## di-4.47/mkconfig/mkconfig.pl-450- print LOGFH "## link test: $cmd\n"; di-4.47/mkconfig/mkconfig.pl:451: my $rc = system ("$cmd >> $LOG 2>&1"); di-4.47/mkconfig/mkconfig.pl-452- if ($rc & 127) { exitmkconfig ($rc); } ############################################## di-4.47/mkconfig/mkconfig.pl-483- $cmd .= "-E $name.c > $name.out "; di-4.47/mkconfig/mkconfig.pl:484: my $rc = system ("cat $name.c >> $LOG"); di-4.47/mkconfig/mkconfig.pl-485- if ($rc & 127) { exitmkconfig ($rc); } di-4.47/mkconfig/mkconfig.pl:486: $rc = system ("$cmd 2>>$LOG"); di-4.47/mkconfig/mkconfig.pl-487- print LOGFH "## cpp test: $cmd\n"; ############################################## di-4.47/mkconfig/mkconfig.pl-512- print LOGFH "## compile test: $cmd\n"; di-4.47/mkconfig/mkconfig.pl:513: my $rc = system ("cat $name.c >> $LOG"); di-4.47/mkconfig/mkconfig.pl-514- if ($rc & 127) { exitmkconfig ($rc); } di-4.47/mkconfig/mkconfig.pl:515: $rc = system ("$cmd >> $LOG 2>&1"); di-4.47/mkconfig/mkconfig.pl-516- if ($rc & 127) { exitmkconfig ($rc); } ############################################## di-4.47/mkconfig/mkconfig.pl-707- $r_config->{$name} = 0; di-4.47/mkconfig/mkconfig.pl:708: my $rc = system ("grep '${pat}' $fn > /dev/null 2>&1"); di-4.47/mkconfig/mkconfig.pl-709- if ($rc == 0) { ############################################## di-4.47/mkconfig/mkconfig.pl-1182- $ENV{'_MKCONFIG_SYSTYPE'} == 'HP-UX' ) { di-4.47/mkconfig/mkconfig.pl:1183: my $tcc = `$ENV{'CC'} -v 2>&1`; di-4.47/mkconfig/mkconfig.pl-1184- if ($tcc =~ /Bundled/o) { ############################################## di-4.47/mkconfig/mkconfig.pl-1211- my $cmd = "egrep \"[ *]" . ${funcnm} . "[ ]*\\(\" $name.out >/dev/null 2>&1"; di-4.47/mkconfig/mkconfig.pl:1212: $rc = system ($cmd); di-4.47/mkconfig/mkconfig.pl-1213- print LOGFH "## args: $cmd $rc\n"; di-4.47/mkconfig/mkconfig.pl-1214- if ($rc == 0) { di-4.47/mkconfig/mkconfig.pl:1215: my $dcl = `${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextdcl.awk ${name}.out ${funcnm}`; di-4.47/mkconfig/mkconfig.pl-1216- # $dcl may be multi-line...fix this now. ############################################## di-4.47/mkconfig/mkconfig.pl-1344- print LOGFH "## ${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextstruct.awk ${name}.out ${struct}\n"; di-4.47/mkconfig/mkconfig.pl:1345: my $st = `${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextstruct.awk ${name}.out ${struct}`; di-4.47/mkconfig/mkconfig.pl-1346- print LOGFH "## xdr(A): $st\n"; ############################################## di-4.47/mkconfig/mkconfig.pl-2027-} di-4.47/mkconfig/mkconfig.pl:2028:$_MKCONFIG_VERSION=`cat $tpath/VERSION`; di-4.47/mkconfig/mkconfig.pl-2029-chomp $_MKCONFIG_VERSION; ############################################## di-4.47/mkconfig/mkconfig.pl-2035- di-4.47/mkconfig/mkconfig.pl:2036:if (-d $_MKCONFIG_TMP) { system ("rm -rf $_MKCONFIG_TMP"); } di-4.47/mkconfig/mkconfig.pl-2037-mkdir $_MKCONFIG_TMP, 0777; ############################################## di-4.47/mkconfig/mkconfig.pl-2064-if ($ENV{'MKC_KEEP_TMP'} eq "") { di-4.47/mkconfig/mkconfig.pl:2065: if (-d $_MKCONFIG_TMP) { system ("rm -rf $_MKCONFIG_TMP"); } di-4.47/mkconfig/mkconfig.pl-2066-} ############################################## di-4.47/mkconfig/mkc.sh-12-fi di-4.47/mkconfig/mkc.sh:13:mypath=`echo $0 | sed -e 's,/[^/]*$,,' -e 's,^\.,./.,'` di-4.47/mkconfig/mkc.sh:14:_MKCONFIG_DIR=`(cd $mypath;pwd)` di-4.47/mkconfig/mkc.sh-15-export _MKCONFIG_DIR ############################################## di-4.47/mkconfig/bin/mkcl.sh-170- for rf in $reqlibfiles; do di-4.47/mkconfig/bin/mkcl.sh:171: doappend olibs "`cat $rf`" di-4.47/mkconfig/bin/mkcl.sh-172- done ############################################## di-4.47/mkconfig/bin/mkcl.sh-378-if [ "$logfile" != "" ]; then di-4.47/mkconfig/bin/mkcl.sh:379: out=`eval $cmd 2>&1` di-4.47/mkconfig/bin/mkcl.sh-380- rc=$? ############################################## di-4.47/mkconfig/bin/mkstaticlib.sh-84- if [ "$ranlibcmd" = "" -a "$lordercmd" != "" -a "$tsortcmd" != "" ]; then di-4.47/mkconfig/bin/mkstaticlib.sh:85: objects=`$lordercmd ${objects} | $tsortcmd` di-4.47/mkconfig/bin/mkstaticlib.sh-86- fi ############################################## di-4.47/mkconfig/bin/mkstaticlib.sh-97- if [ "$logfile" != "" ]; then di-4.47/mkconfig/bin/mkstaticlib.sh:98: out=`eval $cmd 2>&1` di-4.47/mkconfig/bin/mkstaticlib.sh-99- rc=$? ############################################## di-4.47/mkconfig/bin/testfuncs.sh-35- tsnm=$1 di-4.47/mkconfig/bin/testfuncs.sh:36: tsnm=`echo $tsnm | sed -e 's,.*/,,' -e 's,\.sh$,,'` di-4.47/mkconfig/bin/testfuncs.sh-37- scriptnm=${tsnm} ############################################## di-4.47/mkconfig/bin/testfuncs.sh-98- bfn=$fn di-4.47/mkconfig/bin/testfuncs.sh:99: bfn=`echo $fn | sed 's/\.d$//'` di-4.47/mkconfig/bin/testfuncs.sh-100- cmd="${_MKCONFIG_DIR}/mkc.sh -d `pwd` -complink -e -c ${DC} \ ############################################## di-4.47/mkconfig/bin/testfuncs.sh-128- if [ "$arg" = "wc" ]; then di-4.47/mkconfig/bin/testfuncs.sh:129: tl=`egrep -l "$pat" ${fn} 2>/dev/null | wc -l` di-4.47/mkconfig/bin/testfuncs.sh-130- rc=$? ############################################## di-4.47/mkconfig/bin/mkcsetopt.sh-44- ${opt}=*) di-4.47/mkconfig/bin/mkcsetopt.sh:45: oline=`echo $oline | sed "s/=.*/=${val}/"` di-4.47/mkconfig/bin/mkcsetopt.sh-46- ;; ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-15-# was used. di-4.47/mkconfig/bin/shellfuncs.sh:16:_MKCONFIG_VERSION=`cat ${_MKCONFIG_DIR}/VERSION` di-4.47/mkconfig/bin/shellfuncs.sh-17-export _MKCONFIG_VERSION ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-41- done di-4.47/mkconfig/bin/shellfuncs.sh:42: cmd="${subvar}=\`echo \${${subvar}} | sed ${sa}\`" di-4.47/mkconfig/bin/shellfuncs.sh-43- eval $cmd; ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-106- else di-4.47/mkconfig/bin/shellfuncs.sh:107: eval 'domath () { mthvar=$1; mthval=`expr $2`; eval $mthvar=$mthval; }' di-4.47/mkconfig/bin/shellfuncs.sh-108- fi ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-117- else di-4.47/mkconfig/bin/shellfuncs.sh:118: eval 'toupper () { ucvar=$1; cmd="$ucvar=\`echo \${$ucvar} | tr \"[a-z]\" \"[A-Z]\"\`"; eval "$cmd"; }' di-4.47/mkconfig/bin/shellfuncs.sh-119- fi ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-128- else di-4.47/mkconfig/bin/shellfuncs.sh:129: eval 'tolower () { lcvar=$1; cmd="$lcvar=\`echo \${$lcvar} | tr \"[A-Z]\" \"[a-z]\"\`"; eval "$cmd"; }' di-4.47/mkconfig/bin/shellfuncs.sh-130- fi ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-154- if [ "$trs" != "" ]; then di-4.47/mkconfig/bin/shellfuncs.sh:155: dispshell=`echo $trs | sed -e 's,.*/,,'` di-4.47/mkconfig/bin/shellfuncs.sh-156- else ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-182- shvers=$BASH_VERSION di-4.47/mkconfig/bin/shellfuncs.sh:183: ver=`echo $BASH_VERSION | sed 's/\..*//'` di-4.47/mkconfig/bin/shellfuncs.sh-184- shell=bash${ver} ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-318- systype=`uname -s` di-4.47/mkconfig/bin/shellfuncs.sh:319: tpthlist=`echo $PATH | sed 's/:/ /g'` di-4.47/mkconfig/bin/shellfuncs.sh-320- ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-324- d=/bin di-4.47/mkconfig/bin/shellfuncs.sh:325: tpthlist=`echo $tpthlist | sed -e "s,^$d ,," -e "s, $d,,"` di-4.47/mkconfig/bin/shellfuncs.sh-326- ;; ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-331- if [ ! -d $d ]; then di-4.47/mkconfig/bin/shellfuncs.sh:332: tpthlist=`echo $tpthlist | sed -e "s,^$d ,," -e "s, $d,,"` di-4.47/mkconfig/bin/shellfuncs.sh-333- else di-4.47/mkconfig/bin/shellfuncs.sh-334- if [ -h $d ]; then di-4.47/mkconfig/bin/shellfuncs.sh:335: tpthlist=`echo $tpthlist | sed -e "s,^$d ,," -e "s, $d,,"` di-4.47/mkconfig/bin/shellfuncs.sh-336- # make sure path symlink is pointing to is in the list di-4.47/mkconfig/bin/shellfuncs.sh:337: npath=`ls -ld $d | sed 's/.*-> //'` di-4.47/mkconfig/bin/shellfuncs.sh-338- tpthlist="$tpthlist $npath" ############################################## di-4.47/mkconfig/bin/shellfuncs.sh-348- done di-4.47/mkconfig/bin/shellfuncs.sh:349: _pthlist=`echo $_pthlist | sort -u` di-4.47/mkconfig/bin/shellfuncs.sh-350-} ############################################## di-4.47/mkconfig/units/env-systype.sh-45- then di-4.47/mkconfig/units/env-systype.sh:46: _MKCONFIG_SYSTYPE=`${xuname} -s` di-4.47/mkconfig/units/env-systype.sh-47- else ############################################## di-4.47/mkconfig/units/env-systype.sh-93- *) di-4.47/mkconfig/units/env-systype.sh:94: _MKCONFIG_SYSREV=`${xuname} -r` di-4.47/mkconfig/units/env-systype.sh-95- ;; ############################################## di-4.47/mkconfig/units/env-systype.sh-106- if [ "rev" != "" ]; then di-4.47/mkconfig/units/env-systype.sh:107: rev=`puts $rev | sed 's/^[^0-9]*\([0-9]\)\([0-9]\).*/\1.\2/'` di-4.47/mkconfig/units/env-systype.sh-108- _MKCONFIG_SYSREV="$rev" ############################################## di-4.47/mkconfig/units/env-systype.sh-124- then di-4.47/mkconfig/units/env-systype.sh:125: _MKCONFIG_SYSARCH=`${xuname} -m` di-4.47/mkconfig/units/env-systype.sh-126- else ############################################## di-4.47/mkconfig/units/env-cc.sh-49- puts "using flags from getconf" >&9 di-4.47/mkconfig/units/env-cc.sh:50: lfccflags="`${xgetconf} LFS_CFLAGS 2>/dev/null`" di-4.47/mkconfig/units/env-cc.sh-51- if [ "$lfccflags" = undefined ]; then ############################################## di-4.47/mkconfig/units/env-cc.sh-53- fi di-4.47/mkconfig/units/env-cc.sh:54: lfldflags="`${xgetconf} LFS_LDFLAGS 2>/dev/null`" di-4.47/mkconfig/units/env-cc.sh-55- if [ "$lfldflags" = undefined ]; then ############################################## di-4.47/mkconfig/units/env-cc.sh-57- fi di-4.47/mkconfig/units/env-cc.sh:58: lflibs="`${xgetconf} LFS_LIBS 2>/dev/null`" di-4.47/mkconfig/units/env-cc.sh-59- if [ "$lflibs" = undefined ]; then ############################################## di-4.47/mkconfig/units/env-cc.sh-717- incchk= di-4.47/mkconfig/units/env-cc.sh:718: pp=`puts $PATH | sed 's/:/ /g'` di-4.47/mkconfig/units/env-cc.sh-719- for p in $HOME/local/lib /usr/local/lib /opt/local/lib $pp; do ############################################## di-4.47/mkconfig/units/env-cc.sh-722- */bin) di-4.47/mkconfig/units/env-cc.sh:723: td=`puts $p | sed 's,/bin$,/lib,'` di-4.47/mkconfig/units/env-cc.sh-724- ;; ############################################## di-4.47/mkconfig/units/c-main.sh-164- # storage/Directory.h di-4.47/mkconfig/units/c-main.sh:165: nm1=`puts ${hdr} | sed -e 's,/.*,,'` di-4.47/mkconfig/units/c-main.sh:166: nm2="_`puts $hdr | sed -e s,\^${nm1},, -e 's,^/*,,'`" di-4.47/mkconfig/units/c-main.sh-167- nm="_${type}_${nm1}" ############################################## di-4.47/mkconfig/units/c-main.sh-430- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/c-main.sh:431: st=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextstruct.awk ${name}.out ${struct}` di-4.47/mkconfig/units/c-main.sh-432- if [ "$st" != "" ]; then di-4.47/mkconfig/units/c-main.sh-433- puts " ${struct}: ${st}" >&9 di-4.47/mkconfig/units/c-main.sh:434: tmem=`puts "$st" | grep "${member} *;\$"` di-4.47/mkconfig/units/c-main.sh-435- rc=$? ############################################## di-4.47/mkconfig/units/c-main.sh-437- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/c-main.sh:438: mtype=`puts $tmem | sed -e "s/ *${member} *;$//" -e 's/^ *//'` di-4.47/mkconfig/units/c-main.sh-439- puts " type: ${mtype}" >&9 ############################################## di-4.47/mkconfig/units/c-main.sh-555- if [ $trc -eq 1 ]; then di-4.47/mkconfig/units/c-main.sh:556: dcl=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextdcl.awk ${name}.out ${funcnm}` di-4.47/mkconfig/units/c-main.sh-557- # make single line, use no quotes ############################################## di-4.47/mkconfig/units/c-main.sh-559- # \r is not recognized by older shells, use tr. di-4.47/mkconfig/units/c-main.sh:560: dcl=`puts $dcl | tr '\r' ' '` di-4.47/mkconfig/units/c-main.sh-561- # extern will be replaced di-4.47/mkconfig/units/c-main.sh-562- # ; may or may not be present, so remove it. di-4.47/mkconfig/units/c-main.sh:563: cmd="dcl=\`puts \"\$dcl\" | sed -e 's/extern *//' -e 's/;//' \`" di-4.47/mkconfig/units/c-main.sh-564- eval $cmd di-4.47/mkconfig/units/c-main.sh-565- puts "## dcl(A): ${dcl}" >&9 di-4.47/mkconfig/units/c-main.sh:566: cmd="dcl=\`puts \"\$dcl\" | sed -e 's/( *void *)/()/' \`" di-4.47/mkconfig/units/c-main.sh-567- eval $cmd di-4.47/mkconfig/units/c-main.sh-568- puts "## dcl(C): ${dcl}" >&9 di-4.47/mkconfig/units/c-main.sh:569: c=`puts "${dcl}" | sed 's/[^,]*//g'` di-4.47/mkconfig/units/c-main.sh:570: ccount=`putsnonl "$c" | wc -c` di-4.47/mkconfig/units/c-main.sh-571- domath ccount "$ccount + 1" # 0==1 also, unfortunately di-4.47/mkconfig/units/c-main.sh:572: c=`puts "${dcl}" | sed 's/^[^(]*(//'` di-4.47/mkconfig/units/c-main.sh:573: c=`puts "${c}" | sed 's/)[^)]*$//'` di-4.47/mkconfig/units/c-main.sh-574- puts "## c(E): ${c}" >&9 ############################################## di-4.47/mkconfig/units/c-main.sh-577- tmp=$c di-4.47/mkconfig/units/c-main.sh:578: tmp=`puts "${c}" | sed -e 's/ *,.*$//' -e 's/[ ]/ /g'` di-4.47/mkconfig/units/c-main.sh-579- dosubst tmp 'struct ' 'struct#' 'union ' 'union#' 'enum ' 'enum#' ############################################## di-4.47/mkconfig/units/c-main.sh-583- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/c-main.sh:584: tmp=`puts "${tmp}" | sed -e 's/ *[A-Za-z0-9_]*$//'` di-4.47/mkconfig/units/c-main.sh-585- fi ############################################## di-4.47/mkconfig/units/c-main.sh-587- if [ $noconst = T ]; then di-4.47/mkconfig/units/c-main.sh:588: tmp=`puts "${tmp}" | sed -e 's/const *//'` di-4.47/mkconfig/units/c-main.sh-589- fi ############################################## di-4.47/mkconfig/units/c-main.sh-593- domath val "$val + 1" di-4.47/mkconfig/units/c-main.sh:594: c=`puts "${c}" | sed -e 's/^[^,]*//' -e 's/^[ ,]*//'` di-4.47/mkconfig/units/c-main.sh-595- puts "## c(G): ${c}" >&9 ############################################## di-4.47/mkconfig/units/c-main.sh-602- if [ $noconst = T ]; then di-4.47/mkconfig/units/c-main.sh:603: c=`puts "${c}" | sed -e 's/const *//'` di-4.47/mkconfig/units/c-main.sh-604- fi ############################################## di-4.47/mkconfig/units/d-main.sh-129-# puts "##### modify_ctypes: $cmd" >&9 di-4.47/mkconfig/units/d-main.sh:130: eval "${tmcnm1}=\`puts \"\${tcode1}\" | ${cmd}\`" >&9 2>&9 di-4.47/mkconfig/units/d-main.sh-131- ############################################## di-4.47/mkconfig/units/d-main.sh-148-# puts "##### modify_cchglist: $cmd" >&9 di-4.47/mkconfig/units/d-main.sh:149: eval "tcode2=\`puts \"\${tcode2}\" | ${cmd}\`" >&9 2>&9 di-4.47/mkconfig/units/d-main.sh-150- ############################################## di-4.47/mkconfig/units/d-main.sh-152-# puts "##### modify_cchglist: $cmd" >&9 di-4.47/mkconfig/units/d-main.sh:153: eval "tcode2=\`puts \"\${tcode2}\" | ${cmd}\`" >&9 2>&9 di-4.47/mkconfig/units/d-main.sh-154- ############################################## di-4.47/mkconfig/units/d-main.sh-186-# puts "##### modify_ccode: ${cmd}" >&9 di-4.47/mkconfig/units/d-main.sh:187: eval "tcode3=\`puts \"\${tcode3}\" | ${cmd} \`" >&9 2>&9 di-4.47/mkconfig/units/d-main.sh-188- ############################################## di-4.47/mkconfig/units/d-main.sh-227- cmd="sed -e 's/const *//g; # remove all const'" di-4.47/mkconfig/units/d-main.sh:228: eval "tcode3=\`puts \"\${tcode3}\" | ${cmd} \`" >&9 2>&9 di-4.47/mkconfig/units/d-main.sh-229- fi ############################################## di-4.47/mkconfig/units/d-main.sh-419- di-4.47/mkconfig/units/d-main.sh:420: nm1=`puts ${imp} | sed -e 's,/.*,,'` di-4.47/mkconfig/units/d-main.sh:421: nm2="_`puts $imp | sed -e \"s,^${nm1},,\" -e 's,^/*,,'`" di-4.47/mkconfig/units/d-main.sh-422- nm="_${type}_${nm1}" ############################################## di-4.47/mkconfig/units/d-main.sh-988- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:989: tdata=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcexttypedef.awk ${name}.out ${typname}` di-4.47/mkconfig/units/d-main.sh:990: tdata=`puts $tdata` # make single line. di-4.47/mkconfig/units/d-main.sh-991- puts "## tdata(0): ${tdata}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1002- if [ $noprefix = T ]; then di-4.47/mkconfig/units/d-main.sh:1003: ttl=`puts $tdata | sed 's/^alias *[sue][trucniom]* *\([a-zA-Z0-9_]*\) *\([a-zA-Z0-9_]*\);/\1 \2/'` di-4.47/mkconfig/units/d-main.sh-1004- set $ttl ############################################## di-4.47/mkconfig/units/d-main.sh-1114- if [ $fhrc -eq 1 ]; then di-4.47/mkconfig/units/d-main.sh:1115: macro=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextmacro.awk $fhdr ${mname}` di-4.47/mkconfig/units/d-main.sh-1116- puts " extracted macro: $macro" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1137- if [ "$type" = void ]; then di-4.47/mkconfig/units/d-main.sh:1138: macro=`puts ${macro} | sed -e "s/return//"` di-4.47/mkconfig/units/d-main.sh-1139- fi di-4.47/mkconfig/units/d-main.sh-1140- if [ "$DVERSION" = 1 -a $rc -eq 0 -a $trc -eq 1 ]; then di-4.47/mkconfig/units/d-main.sh:1141: macro=`puts ${macro} | sed -e "s/^auto/${type}/"` di-4.47/mkconfig/units/d-main.sh-1142- puts " macroC: $macro" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1149- if [ $tfirst -eq 1 ]; then di-4.47/mkconfig/units/d-main.sh:1150: macro=`puts ${macro} | sed -e "s/(/(${type} /" ` di-4.47/mkconfig/units/d-main.sh-1151- puts " macroD: $macro" >&9 di-4.47/mkconfig/units/d-main.sh-1152- tfirst=0 di-4.47/mkconfig/units/d-main.sh:1153: ttype=`puts $type | sed 's/\*/\\\\*/g'` di-4.47/mkconfig/units/d-main.sh-1154- tmp="($ttype [a-zA-Z0-9_]*" ############################################## di-4.47/mkconfig/units/d-main.sh-1161- puts " macroE: $macro" >&9 di-4.47/mkconfig/units/d-main.sh:1162: ttype=`puts $type | sed 's/\*/\\\\*/g'` di-4.47/mkconfig/units/d-main.sh-1163- doappend tmp ", ${ttype} [a-zA-Z0-9_]*" ############################################## di-4.47/mkconfig/units/d-main.sh-1195- ctype=$type di-4.47/mkconfig/units/d-main.sh:1196: ctype=`puts $ctype | sed -e 's/^c//'` di-4.47/mkconfig/units/d-main.sh-1197- lab=C_ST_ ############################################## di-4.47/mkconfig/units/d-main.sh-1221- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:1222: st=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextstruct.awk -v dcode=T ${name}.out ${s} ` di-4.47/mkconfig/units/d-main.sh-1223- puts "#### initial ${ctype}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1301- puts "### found: ${tsline}" >&9 di-4.47/mkconfig/units/d-main.sh:1302: ttype=`puts ${tsline} | sed -e 's/^[ const]*\([sue][trucniom]*\) *.*/\1/'` di-4.47/mkconfig/units/d-main.sh:1303: tl=`puts ${tsline} | sed -e "s/^.*${ttype} *\([a-zA-Z0-9_]*\) *{.*/\1/"` di-4.47/mkconfig/units/d-main.sh:1304: tlab=`puts ${tl} | sed 's/^\(C_[STUNEM]*_\).*/\1/'` di-4.47/mkconfig/units/d-main.sh:1305: tl=`puts ${tl} | sed -e "s/^${tlab}//"` di-4.47/mkconfig/units/d-main.sh-1306- puts "### ttype: ${ttype}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1309- if [ "$tl" != "" ]; then di-4.47/mkconfig/units/d-main.sh:1310: st=`puts "${st}" | sed -e "s/${ttype} *${tl}/${tl}/g"` di-4.47/mkconfig/units/d-main.sh-1311- doappend cchglist2 "-e 's/\([^a-zA-Z0-9_]\)${tl}\([^a-zA-Z0-9_]\)/\1${tlab}${tl}\2/g' " ############################################## di-4.47/mkconfig/units/d-main.sh-1317- if [ $inst -ge 1 ]; then di-4.47/mkconfig/units/d-main.sh:1318: tnname=`puts ${tsline} | sed -e 's/.*}[ *]*\([^; ]*\) *;/\1/'` di-4.47/mkconfig/units/d-main.sh-1319- # doesn't handle } w/no semi right. ############################################## di-4.47/mkconfig/units/d-main.sh-1323- doappend cchglist1 "-e 's/\.${tnname}\././g' " di-4.47/mkconfig/units/d-main.sh:1324: st=`puts "${st}" | sed -e "s/}[ *]*${tnname} *;/};/"` di-4.47/mkconfig/units/d-main.sh-1325- fi ############################################## di-4.47/mkconfig/units/d-main.sh-1348- inbf=1 di-4.47/mkconfig/units/d-main.sh:1349: tline=`puts $tsline | sed 's/.*://'` di-4.47/mkconfig/units/d-main.sh-1350- puts $tline | grep sizeof > /dev/null 2>&1 ############################################## di-4.47/mkconfig/units/d-main.sh-1352- while test $rc -eq 0; do di-4.47/mkconfig/units/d-main.sh:1353: ttval=`puts $tline | sed -e 's/.*sizeof *( *\([^)]*\) *).*/\1/'` di-4.47/mkconfig/units/d-main.sh-1354- tnm="_csiz_${ttval}" ############################################## di-4.47/mkconfig/units/d-main.sh-1359- fi di-4.47/mkconfig/units/d-main.sh:1360: tline=`puts $tline | sed -e "s/\(.*\)sizeof *([^)]*)\(.*\)/\1 ${tval} \2/"` di-4.47/mkconfig/units/d-main.sh-1361- puts $tline | grep sizeof > /dev/null 2>&1 ############################################## di-4.47/mkconfig/units/d-main.sh-1540- puts " struct ${struct}: ${st}" >&9 di-4.47/mkconfig/units/d-main.sh:1541: tmem=`puts "$st" | grep "${member} *;\$"` di-4.47/mkconfig/units/d-main.sh-1542- rc=$? ############################################## di-4.47/mkconfig/units/d-main.sh-1544- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:1545: mtype=`puts $tmem | sed -e "s/ *${member} *;$//" -e 's/^ *//'` di-4.47/mkconfig/units/d-main.sh-1546- puts " type:${mtype}:" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1580- puts " struct ${struct}: ${st}" >&9 di-4.47/mkconfig/units/d-main.sh:1581: tmem=`puts "$st" | grep "${member} *;\$"` di-4.47/mkconfig/units/d-main.sh-1582- rc=$? ############################################## di-4.47/mkconfig/units/d-main.sh-1584- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:1585: mtype=`puts $tmem | sed -e "s/ *${member} *;$//" -e 's/^ *//'` di-4.47/mkconfig/units/d-main.sh-1586- puts " type: ${mtype}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1646- if [ $trc -eq 1 ]; then di-4.47/mkconfig/units/d-main.sh:1647: dcl=`${awkcmd} -f ${_MKCONFIG_DIR}/util/mkcextdcl.awk ${name}.out ${dname}` di-4.47/mkconfig/units/d-main.sh:1648: dcl=`puts $dcl` # make single line. di-4.47/mkconfig/units/d-main.sh-1649- puts "## dcl(0): ${dcl}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1651- # ; may or may not be present, so remove it. di-4.47/mkconfig/units/d-main.sh:1652: cmd="dcl=\`puts \"\$dcl\" | sed -e 's/extern *//' -e 's/;//' \`" di-4.47/mkconfig/units/d-main.sh-1653- eval $cmd ############################################## di-4.47/mkconfig/units/d-main.sh-1661- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:1662: dclren=`puts $dcl | sed -e 's/.*__asm__[ ]*("" "\([a-z0-9A-Z_]*\)")/\1/'` di-4.47/mkconfig/units/d-main.sh-1663- fi ############################################## di-4.47/mkconfig/units/d-main.sh-1673- fi di-4.47/mkconfig/units/d-main.sh:1674: cmd="dcl=\`puts \"\$dcl\" | sed -e 's/( *void *)/()/' \`" di-4.47/mkconfig/units/d-main.sh-1675- eval $cmd ############################################## di-4.47/mkconfig/units/d-main.sh-1681- if [ $argflag = 1 ]; then di-4.47/mkconfig/units/d-main.sh:1682: c=`puts ${tdcl} | sed 's/[^,]*//g'` di-4.47/mkconfig/units/d-main.sh:1683: ccount=`putsnonl "$c" | wc -c` di-4.47/mkconfig/units/d-main.sh-1684- domath ccount "$ccount + 1" # 0==1 also, unfortunately di-4.47/mkconfig/units/d-main.sh:1685: c=`puts ${tdcl} | sed 's/^[^(]*(//'` di-4.47/mkconfig/units/d-main.sh:1686: c=`puts ${c} | sed 's/)[^)]*$//'` di-4.47/mkconfig/units/d-main.sh-1687- puts "## c(E): ${c}" >&9 ############################################## di-4.47/mkconfig/units/d-main.sh-1690- tmp=$c di-4.47/mkconfig/units/d-main.sh:1691: tmp=`puts ${c} | sed -e 's/ *,.*$//' -e 's/[ ]/ /g'` di-4.47/mkconfig/units/d-main.sh-1692- dosubst tmp 'struct ' 'struct#' 'union ' 'union#' 'enum ' 'enum#' ############################################## di-4.47/mkconfig/units/d-main.sh-1696- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-main.sh:1697: tmp=`puts ${tmp} | sed -e 's/ *[A-Za-z0-9_]*$//'` di-4.47/mkconfig/units/d-main.sh-1698- fi ############################################## di-4.47/mkconfig/units/d-main.sh-1700- if [ $noconst = T ]; then di-4.47/mkconfig/units/d-main.sh:1701: tmp=`puts ${tmp} | sed -e 's/const *//'` di-4.47/mkconfig/units/d-main.sh-1702- fi ############################################## di-4.47/mkconfig/units/d-main.sh-1714- domath val "$val + 1" di-4.47/mkconfig/units/d-main.sh:1715: c=`puts ${c} | sed -e 's/^[^,]*//' -e 's/^[ ,]*//'` di-4.47/mkconfig/units/d-main.sh-1716- done ############################################## di-4.47/mkconfig/units/d-main.sh-1723- if [ $noconst = T ]; then di-4.47/mkconfig/units/d-main.sh:1724: c=`puts ${c} | sed -e 's/const *//'` di-4.47/mkconfig/units/d-main.sh-1725- fi ############################################## di-4.47/mkconfig/units/c-support.sh-105- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/c-support.sh:106: rval=`./${crname}.exe` di-4.47/mkconfig/units/c-support.sh-107- rc=$? ############################################## di-4.47/mkconfig/units/d-support.sh-72- if [ $rc -eq 0 ]; then di-4.47/mkconfig/units/d-support.sh:73: rval=`./${drname}.exe` di-4.47/mkconfig/units/d-support.sh-74- rc=$? ############################################## di-4.47/mkconfig/mkconfig.sh-24-fi di-4.47/mkconfig/mkconfig.sh:25:mypath=`echo $0 | sed -e 's,/[^/]*$,,' -e 's,^\.,./.,'` di-4.47/mkconfig/mkconfig.sh:26:_MKCONFIG_DIR=`(cd $mypath;pwd)` di-4.47/mkconfig/mkconfig.sh-27-export _MKCONFIG_DIR ############################################## di-4.47/mkconfig/mkconfig.sh-96- if [ $varsfileopen = F ]; then di-4.47/mkconfig/mkconfig.sh:97: for v in `set | grep "^mkv_" | sed -e 's/=.*$//'`; do di-4.47/mkconfig/mkconfig.sh-98- unset $v ############################################## di-4.47/mkconfig/mkconfig.sh-242- di-4.47/mkconfig/mkconfig.sh:243: topt=`puts "$o" | sed 's/=.*//'` di-4.47/mkconfig/mkconfig.sh:244: tval=`puts "$o" | sed 's/.*=//'` di-4.47/mkconfig/mkconfig.sh-245- eval "_mkc_opt_${topt}=\"${tval}\"" ############################################## di-4.47/mkconfig/mkconfig.sh-379- \'*\') di-4.47/mkconfig/mkconfig.sh:380: token=`puts $token | sed -e s,\',,g` di-4.47/mkconfig/mkconfig.sh-381- puts "## begin/end quoted token" >&9 ############################################## di-4.47/mkconfig/mkconfig.sh-394- token="${qtoken} $token" di-4.47/mkconfig/mkconfig.sh:395: token=`puts $token | sed -e s,\',,g` di-4.47/mkconfig/mkconfig.sh-396- puts "## end qtoken: $token" >&9 ############################################## di-4.47/mkconfig/mkconfig.sh-569- if [ ${CONFH} != none ]; then di-4.47/mkconfig/mkconfig.sh:570: confdir=`puts ${CONFH} | sed -e 's,/[^/]*$,,'` di-4.47/mkconfig/mkconfig.sh-571- test -d $confdir || mkdir -p $confdir ############################################## di-4.47/mkconfig/mkconfig.sh-879- puts " config file name: ${CONFH}" >&9 di-4.47/mkconfig/mkconfig.sh:880: file=`puts $file | sed -e 's,.*/,,'` di-4.47/mkconfig/mkconfig.sh:881: file=`puts $file | sed -e 's/\..*//'` di-4.47/mkconfig/mkconfig.sh-882- CONFHTAG=$file ############################################## di-4.47/mkconfig/runtests.sh-68- ors=$rs di-4.47/mkconfig/runtests.sh:69: rs="`ls -l $rs | sed 's/.* //'`" di-4.47/mkconfig/runtests.sh-70- case $rs in ############################################## di-4.47/mkconfig/runtests.sh-83- -e 's/ksh88/ksh/' -e 's/ksh93/ksh/' ` di-4.47/mkconfig/runtests.sh:84: tts=`echo $s | sed -e 's/ksh88/ksh/' -e 's/ksh93/ksh/' ` di-4.47/mkconfig/runtests.sh-85- if [ $ts != ksh -a $ts != bash -a $ts != zsh ]; then ############################################## di-4.47/mkconfig/runtests.sh-95- di-4.47/mkconfig/runtests.sh:96: rs=`echo $rs | sed 's,/[^/]*/\.\./,/,'` di-4.47/mkconfig/runtests.sh:97: rs=`echo $rs | sed 's,/[^/]*/\.\./,/,'` di-4.47/mkconfig/runtests.sh:98: rs=`echo $rs | sed 's,/[^/]*/\.\./,/,'` di-4.47/mkconfig/runtests.sh:99: rs=`echo $rs | sed 's,/[^/]*/\.\./,/,'` di-4.47/mkconfig/runtests.sh-100- done di-4.47/mkconfig/runtests.sh-101- di-4.47/mkconfig/runtests.sh:102: inode=`ls -i ${rs} | sed -e 's/^ *//' -e 's/ .*//'` di-4.47/mkconfig/runtests.sh-103- inode=${inode}${s} # append shell type also ############################################## di-4.47/mkconfig/runtests.sh-116- cmd="$rs -c \". $_MKCONFIG_DIR/bin/shellfuncs.sh;getshelltype $rs echo\"" di-4.47/mkconfig/runtests.sh:117: set `eval $cmd` di-4.47/mkconfig/runtests.sh-118- dispshell=$1 ############################################## di-4.47/mkconfig/runtests.sh-134- di-4.47/mkconfig/runtests.sh:135: tshelllist=`echo "$tshelllist" | sort -u` di-4.47/mkconfig/runtests.sh-136- systype=`uname -s` ############################################## di-4.47/mkconfig/runtests.sh-144- cmd="$s -c \". $_MKCONFIG_DIR/bin/shellfuncs.sh;getshelltype $s echo\"" di-4.47/mkconfig/runtests.sh:145: set `eval $cmd` di-4.47/mkconfig/runtests.sh-146- dispshell=$1 ############################################## di-4.47/mkconfig/runtests.sh-208-export _MKCONFIG_RUNTOPDIR di-4.47/mkconfig/runtests.sh:209:mypath=`echo $0 | sed -e 's,/[^/]*$,,' -e 's,^\.,./.,'` di-4.47/mkconfig/runtests.sh-210-if [ "$mypath" = runtests.sh ]; then ############################################## di-4.47/mkconfig/runtests.sh-212-fi di-4.47/mkconfig/runtests.sh:213:_MKCONFIG_DIR=`(cd $mypath;pwd)` di-4.47/mkconfig/runtests.sh-214-export _MKCONFIG_DIR ############################################## di-4.47/mkconfig/runtests.sh-257-else di-4.47/mkconfig/runtests.sh:258: btestdir=`echo $testdir | sed 's,.*/,,'` di-4.47/mkconfig/runtests.sh-259- _MKCONFIG_RUNTMPDIR=$_MKCONFIG_RUNTOPDIR/_mkconfig_runtests/$btestdir ############################################## di-4.47/mkconfig/runtests.sh-337- ${_MKCONFIG_SHELL} ./runtests.sh -s "$CC" "$DC" "$shelllist" "$_pthlist" $TMPOUT $testdir/$tbase di-4.47/mkconfig/runtests.sh:338: retvals=`tail -1 $TMPOUT` di-4.47/mkconfig/runtests.sh-339- rm -f $TMPOUT > /dev/null 2>&1 ############################################## di-4.47/mkconfig/runtests.sh-356- di-4.47/mkconfig/runtests.sh:357: tprefix=`echo $tbase | sed 's/-.*//'` di-4.47/mkconfig/runtests.sh-358- if [ "${CC}" = "" -a "$tprefix" = c ]; then ############################################## di-4.47/mkconfig/runtests.sh-395- fi di-4.47/mkconfig/runtests.sh:396: tfdisp=`$_MKCONFIG_RUNTESTDIR/$tf -d` di-4.47/mkconfig/runtests.sh-397- putsnonl " ${tfdisp}" ############################################## di-4.47/mkconfig/runtests.sh-410- cmd="$s -c \". $_MKCONFIG_DIR/bin/shellfuncs.sh;getshelltype $s echo\"" di-4.47/mkconfig/runtests.sh:411: set `eval $cmd` di-4.47/mkconfig/runtests.sh-412- dispshell=$1