=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== irstlm-6.00.05/scripts/add-start-end.sh-67- irstlm-6.00.05/scripts/add-start-end.sh:68:for i in `seq $repeat`; do bos="$bos<${symbol}> "; eos="$eos <\/${symbol}>";done irstlm-6.00.05/scripts/add-start-end.sh-69- ############################################## irstlm-6.00.05/scripts/build-lm-qsub.sh-196-#getting list of suffixes irstlm-6.00.05/scripts/build-lm-qsub.sh:197:for file in `ls $tmpdir/dict.*` ; do irstlm-6.00.05/scripts/build-lm-qsub.sh:198:sfx=`echo $file | perl -pe 's/^.+\.(\d+)$/$1/'` irstlm-6.00.05/scripts/build-lm-qsub.sh-199-suffix[${#suffix[@]}]=$sfx ############################################## irstlm-6.00.05/scripts/build-lm-qsub.sh-223- irstlm-6.00.05/scripts/build-lm-qsub.sh:224:id=`cat $qsublog.$sfx | grep 'Your job' | awk '{print $3}'` irstlm-6.00.05/scripts/build-lm-qsub.sh-225-sgepid[${#sgepid[@]}]=$id ############################################## irstlm-6.00.05/scripts/build-lm-qsub.sh-257- irstlm-6.00.05/scripts/build-lm-qsub.sh:258:id=`cat $qsublog.$sfx | grep 'Your job' | awk '{print $3}'` irstlm-6.00.05/scripts/build-lm-qsub.sh-259-sgepid[${#sgepid[@]}]=$id ############################################## irstlm-6.00.05/scripts/build-lm-qsub.sh-277- irstlm-6.00.05/scripts/build-lm-qsub.sh:278:id=`cat $qsublog.$sfx | grep 'Your job' | awk '{print $3}'` irstlm-6.00.05/scripts/build-lm-qsub.sh-279-sgepid[${#sgepid[@]}]=$id ############################################## irstlm-6.00.05/scripts/build-lm.sh-191-for sdict in $tmpdir/dict.*;do irstlm-6.00.05/scripts/build-lm.sh:192:sdict=`basename $sdict` irstlm-6.00.05/scripts/build-lm.sh-193-echo "Extracting n-gram statistics for $sdict" >> $logfile 2>&1 ############################################## irstlm-6.00.05/scripts/build-lm.sh-211-echo "Estimating language models for each word list" >> $logfile 2>&1 irstlm-6.00.05/scripts/build-lm.sh:212:for sdict in `ls $tmpdir/dict.*` ; do irstlm-6.00.05/scripts/build-lm.sh:213:sdict=`basename $sdict` irstlm-6.00.05/scripts/build-lm.sh-214-echo "Estimating language models for $sdict" >> $logfile 2>&1 ############################################## irstlm-6.00.05/scripts/mdtsel.sh-190-#compute size of out domain corpus and block size of split irstlm-6.00.05/scripts/mdtsel.sh:191:lines=`wc -l < $outdfile` irstlm-6.00.05/scripts/mdtsel.sh:192:size=`echo "( $lines + 1000 )" / $jobs | bc` #to avoid any small block irstlm-6.00.05/scripts/mdtsel.sh-193- ############################################## irstlm-6.00.05/scripts/merge-sublm.pl-98- for (my $j=0;$j<scalar(@files);$j++){ irstlm-6.00.05/scripts/merge-sublm.pl:99: safesystem("$gunzip -c $files[$j] | grep -v '10000.000' | wc -l > wc$$") or die; irstlm-6.00.05/scripts/merge-sublm.pl-100- open(INP,"wc$$") || die "cannot open wc$$\n"; ############################################## irstlm-6.00.05/scripts/merge-sublm.pl-179- for (my $j=0;$j<scalar(@files);$j++){ irstlm-6.00.05/scripts/merge-sublm.pl:180: safesystem("$gunzip -c $files[$j] | grep -v '10000.000' | gzip -c >> $lm") or die; irstlm-6.00.05/scripts/merge-sublm.pl-181- } ############################################## irstlm-6.00.05/scripts/other/beautify.perl-3-my $os=`uname | tr -d '\012'`; irstlm-6.00.05/scripts/other/beautify.perl:4:my $dir=`dirname $0 | tr -d '\012'`; irstlm-6.00.05/scripts/other/beautify.perl-5-my $astyle="$dir/astyle_$os"; ############################################## irstlm-6.00.05/scripts/other/beautify.perl-16- if (-d $name){ # is this a directory? irstlm-6.00.05/scripts/other/beautify.perl:17: `$astyle --style="k&r" -s2 --recursive -v "$name/*.h" "$name/*.cpp"`; irstlm-6.00.05/scripts/other/beautify.perl-18- next; # can skip to the next name in the for loop ############################################## irstlm-6.00.05/scripts/plsa.sh-187-$bin/dict -i="$data" -o=$dict -PruneFreq=$prunefreq -f=y >> $logfile 2>&1 irstlm-6.00.05/scripts/plsa.sh:188:if [ `head -n 1 $dict| cut -d " " -f 3` -lt 10 ]; then irstlm-6.00.05/scripts/plsa.sh-189-echo "Dictionary contains errors" ############################################## irstlm-6.00.05/scripts/plsa.sh-223-if [ $machine == "Darwin" ] ; then irstlm-6.00.05/scripts/plsa.sh:224:splitlist=`jot - 1 $splits` irstlm-6.00.05/scripts/plsa.sh:225:iterlist=`jot - 1 $iter` irstlm-6.00.05/scripts/plsa.sh-226-else irstlm-6.00.05/scripts/plsa.sh:227:splitlist=`seq 1 1 $splits` irstlm-6.00.05/scripts/plsa.sh:228:iterlist=`seq 1 1 $iter` irstlm-6.00.05/scripts/plsa.sh-229-fi ############################################## irstlm-6.00.05/scripts/plsa.sh-302-if [ $machine == "Darwin" ] ; then irstlm-6.00.05/scripts/plsa.sh:303:splitlist=`jot - 1 $splits` irstlm-6.00.05/scripts/plsa.sh-304-else irstlm-6.00.05/scripts/plsa.sh:305:splitlist=`seq 1 1 $splits` irstlm-6.00.05/scripts/plsa.sh-306-fi ############################################## irstlm-6.00.05/scripts/qplsa.sh-35- irstlm-6.00.05/scripts/qplsa.sh:36:range=`yes | head -n $splits | awk '{printf("%02d ",a);a++}'` irstlm-6.00.05/scripts/qplsa.sh:37:iter=`seq 1 1 $iter| tr "\012" " "` irstlm-6.00.05/scripts/qplsa.sh-38- ############################################## irstlm-6.00.05/scripts/qplsa.sh-41- irstlm-6.00.05/scripts/qplsa.sh:42:me=\`echo \$SGE_TASK_ID | awk '{printf("%02d",\$1-1)}'\` irstlm-6.00.05/scripts/qplsa.sh:43:lastid=\`echo \$SGE_TASK_LAST | awk '{printf("%02d",\$1-1)}'\` irstlm-6.00.05/scripts/qplsa.sh-44- ############################################## irstlm-6.00.05/scripts/qplsa.sh-153- irstlm-6.00.05/scripts/qplsa.sh:154:cmd=\`cat $wdir/taskfor_\$me\` irstlm-6.00.05/scripts/qplsa.sh-155- ############################################## irstlm-6.00.05/scripts/split-ngt.sh-76- irstlm-6.00.05/scripts/split-ngt.sh:77:for d in `ls ${dictfile}.*` ; do irstlm-6.00.05/scripts/split-ngt.sh:78:w=`echo $d | perl -pe 's/.+(\.[0-9]+)$/$1/i'` irstlm-6.00.05/scripts/split-ngt.sh-79-w="$outputfile$w" irstlm-6.00.05/scripts/split-ngt.sh-80- irstlm-6.00.05/scripts/split-ngt.sh:81:sdict=`basename $sdict` irstlm-6.00.05/scripts/split-ngt.sh-82-echo "Extracting n-gram statistics for $sdict" ############################################## irstlm-6.00.05/scripts/wrapper-5- irstlm-6.00.05/scripts/wrapper:6:name=`basename $0` irstlm-6.00.05/scripts/wrapper:7:dir=`dirname $0`"/$MY_ARCH" irstlm-6.00.05/scripts/wrapper-8- ############################################## irstlm-6.00.05/src/cmd.c-376- for(i=0; pgcmds[i].Name; i++) { irstlm-6.00.05/src/cmd.c:377: PrintParam(pgcmds+i, TypeFlag, ValFlag, fp); irstlm-6.00.05/src/cmd.c-378- if(MsgFlag&&pgcmds[i].Msg) { ############################################## irstlm-6.00.05/debian/patches/1001_fix_build_issues.patch-42--dist-hook: irstlm-6.00.05/debian/patches/1001_fix_build_issues.patch:43:- rm -rf `find $(distdir)/doc -type d -name .svn` irstlm-6.00.05/debian/patches/1001_fix_build_issues.patch-44---- a/src/Makefile.am ############################################## irstlm-6.00.05/.pc/1001_fix_build_issues.patch/Makefile.am-17-dist-hook: irstlm-6.00.05/.pc/1001_fix_build_issues.patch/Makefile.am:18: rm -rf `find $(distdir)/doc -type d -name .svn` ############################################## irstlm-6.00.05/.pc/1003_fix_online_help.patch/src/cmd.c-376- for(i=0; pgcmds[i].Name; i++) { irstlm-6.00.05/.pc/1003_fix_online_help.patch/src/cmd.c:377: PrintParam(pgcmds+i, TypeFlag, ValFlag, fp); irstlm-6.00.05/.pc/1003_fix_online_help.patch/src/cmd.c-378- if(MsgFlag&&pgcmds[i].Msg) {