=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== minc-tools-2.3.00+dfsg/CMakeLists.txt-45- minc-tools-2.3.00+dfsg/CMakeLists.txt:46:INCLUDE( ${LIBMINC_USE_FILE} ) minc-tools-2.3.00+dfsg/CMakeLists.txt-47-INCLUDE( InstallManPages ) ############################################## minc-tools-2.3.00+dfsg/cmake-modules/FindHDF5.cmake-10-IF(EXISTS ${PROJECT_CMAKE}/Hdf5Config.cmake) minc-tools-2.3.00+dfsg/cmake-modules/FindHDF5.cmake:11: INCLUDE(${PROJECT_CMAKE}/Hdf5Config.cmake) minc-tools-2.3.00+dfsg/cmake-modules/FindHDF5.cmake-12-ENDIF(EXISTS ${PROJECT_CMAKE}/Hdf5Config.cmake) ############################################## minc-tools-2.3.00+dfsg/progs/mincheader/mincheader-77- minc-tools-2.3.00+dfsg/progs/mincheader/mincheader:78:me=`basename $0` minc-tools-2.3.00+dfsg/progs/mincheader/mincheader-79-usage="Usage: $me [-data] <minc file>" ############################################## minc-tools-2.3.00+dfsg/progs/mincheader/mincheader-111-# For a compressed file, dump header only unless directed otherwise minc-tools-2.3.00+dfsg/progs/mincheader/mincheader:112:dumpfile=`mincexpand "$1" $tmpfile -name_only $header_opts` minc-tools-2.3.00+dfsg/progs/mincheader/mincheader-113-if [ "$dumpfile" = $tmpfile -a $header_only = yes ] ############################################## minc-tools-2.3.00+dfsg/progs/minchistory/minchistory.in-67- $counter = 1; minc-tools-2.3.00+dfsg/progs/minchistory/minchistory.in:68: foreach (`mincinfo -attvalue :history "$fname"`){ minc-tools-2.3.00+dfsg/progs/minchistory/minchistory.in-69- chomp; ############################################## minc-tools-2.3.00+dfsg/progs/xfm/xfmflip.in-107-# do the dogy and add a history string (this may well bite me later on) minc-tools-2.3.00+dfsg/progs/xfm/xfmflip.in:108:my @buf = split("\n", `cat $outxfm`); minc-tools-2.3.00+dfsg/progs/xfm/xfmflip.in-109-open(FH, ">$outxfm"); ############################################## minc-tools-2.3.00+dfsg/progs/mincedit/mincedit-85- minc-tools-2.3.00+dfsg/progs/mincedit/mincedit:86:me=`basename $0` minc-tools-2.3.00+dfsg/progs/mincedit/mincedit-87-usage="Usage: $me <minc file> [<editor>]" ############################################## minc-tools-2.3.00+dfsg/progs/mincedit/mincedit-135-infile="$1" minc-tools-2.3.00+dfsg/progs/mincedit/mincedit:136:backup_infile=`echo ${infile} | sed -e "s/\.mnc/\.bu-$$\.mnc/"` minc-tools-2.3.00+dfsg/progs/mincedit/mincedit-137-cdl_prefix=mincedit-$$ ############################################## minc-tools-2.3.00+dfsg/progs/mincdiff/mincdiff-87-# Expand the files minc-tools-2.3.00+dfsg/progs/mincdiff/mincdiff:88:dumpfile1=`mincexpand $1 $tmp1 -name_only` minc-tools-2.3.00+dfsg/progs/mincdiff/mincdiff:89:dumpfile2=`mincexpand $2 $tmp2 -name_only` minc-tools-2.3.00+dfsg/progs/mincdiff/mincdiff-90- ############################################## minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-160- minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in:161: chomp($buf = `mincstats -quiet -pctT 5 $infile`); minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-162- $buf *= 1.0; ############################################## minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-164- minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in:165: chomp($buf = `mincstats -quiet -pctT 95 $infile`); minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-166- $buf *= 1.0; ############################################## minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-203- $infile; minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in:204: ($n_slices, $img_x, $img_y, $img_step_x, $img_step_y, $dim_names) = split("\n", `$args`); minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-205- ############################################## minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-382- minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in:383: @buf = split(/\n/, `mincstats -min -max -quiet $infile`); minc-tools-2.3.00+dfsg/progs/mincpik/mincpik.in-384- @{$opt{'image_range'}}[0] = $buf[0] * 1.0; ############################################## minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-63- # first check that the header is "valid" minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in:64: if(system("mincdump -h $infile 2> /dev/null 1>&2") == 0){ minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-65- $error = 0; ############################################## minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-72- if($error == 0){ minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in:73: chomp($version = `mincinfo -minc_version $infile 2> /dev/null`); minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-74- ############################################## minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-77- minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in:78: chomp($dump = `mincinfo -attvalue image:complete $infile 2> /dev/null`); minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-79- $error = -1 if ($dump ne 'true_'); ############################################## minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-86- minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in:87: if(system("xfm2param $infile 2> /dev/null 1>&2") == 0){ minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-88- $error = 0; ############################################## minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-164- minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in:165: if [ `minccomplete ${infile}` ] minc-tools-2.3.00+dfsg/progs/minccomplete/minccomplete.in-166- then ############################################## minc-tools-2.3.00+dfsg/conversion/mif2mnc/mif2mnc-38- minc-tools-2.3.00+dfsg/conversion/mif2mnc/mif2mnc:39:chomp(my($me) = `basename $0`); minc-tools-2.3.00+dfsg/conversion/mif2mnc/mif2mnc-40-my($tmpfile) = "/tmp/$me-$$.raw"; ############################################## minc-tools-2.3.00+dfsg/conversion/mri_to_minc/mri_to_minc.pl-924- print STDERR "Compressing file \"$mincfile\"\n"; minc-tools-2.3.00+dfsg/conversion/mri_to_minc/mri_to_minc.pl:925: system("gzip $mincfile"); minc-tools-2.3.00+dfsg/conversion/mri_to_minc/mri_to_minc.pl-926- } ############################################## minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl-811- # Check for a numaris 2 file minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl:812: $magic = `extract_acr_nema $filename $numaris2_magic_id 2>/dev/null`; minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl-813- if ($magic eq $numaris2_magic) { ############################################## minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl-818- # Check for a numaris 3 file minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl:819: $magic = `extract_acr_nema $filename $numaris3_magic_id 2>/dev/null`; minc-tools-2.3.00+dfsg/conversion/mri_to_minc/siemens_to_minc.pl-820- if ($magic eq $numaris3_magic) { ############################################## minc-tools-2.3.00+dfsg/conversion/mri_to_minc/dicom_to_minc.pl-224- local($length) = ($file_offset + 12) * 2; minc-tools-2.3.00+dfsg/conversion/mri_to_minc/dicom_to_minc.pl:225: $value = `extract $offset $length $filename | extract_acr_nema -i 2 0`; minc-tools-2.3.00+dfsg/conversion/mri_to_minc/dicom_to_minc.pl-226- if (length($value) == 4) { ############################################## minc-tools-2.3.00+dfsg/conversion/Acr_nema/dicom_client_routines.c-433- if ((*host >= '0') && (*host <= '9')) { minc-tools-2.3.00+dfsg/conversion/Acr_nema/dicom_client_routines.c:434: server.sin_addr.s_addr = inet_addr(host); minc-tools-2.3.00+dfsg/conversion/Acr_nema/dicom_client_routines.c-435- server.sin_family = AF_INET; ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-225- # read in .mat file, convert to sensical format, remove first and last line minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc:226: @dump = `mat1dump $matfile`; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-227- for($c=1; $c<4; $c++){ ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-257- } minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc:258: print STDOUT `mat1dump $matfile`; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-259- } ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-789- minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc:790: @data = split(/\n/, `$args`); minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-791- ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-822- minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc:823: chomp(my $dt = `mincinfo -vartype image $mncfile`); minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc-824- $h->{datatype} = $dtypes{$dt}[0]; ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana_dump.pl-14- minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana_dump.pl:15:chomp(my($prog) = `basename $0`); minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana_dump.pl-16-my($Usage) = "Usage: $prog <ana.hdr>\n"; ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-105- minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:106:chomp(my($prog) = `basename $0`); minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-107- ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-174- if ($verbose){ print STDOUT $args; } minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:175: system($args) == 0 or die "Died during mincextract command\n"; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-176- } ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-202- if (!-e "$anafile.mat"){ die "$prog: Couldn't find $anafile.mat\n"; } minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:203: print STDOUT `mat1dump $anafile.mat`; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-204- } ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-215- # perl line noise to read in a text file Matrix into MatrixReal minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:216: my @matdump = `mat1dump $anafile.mat`; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-217- $M = Math::MatrixReal->new_from_string("[ " . join(" ]\n[ ", @matdump[1..4]) . " ]\n"); ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-269- # perl line noise to read in a text file Matrix into MatrixReal minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:270: my @MNIdump = `cat $xfmfile`; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-271- ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-602- if (!-e $imgfile && -e "$imgfile.gz"){ minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:603: system("gunzip $imgfile.gz\n") == 0 or die "Died during gunzip\n"; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-604- } ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-606- if ($verbose){ print STDOUT $args; } minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:607: system($args) == 0 or die "Died during rawtominc system command\n"; minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-608- } ############################################## minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-644- minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl:645: chomp(my $dt = `mincinfo -vartype image $mncfile`); minc-tools-2.3.00+dfsg/conversion/ana2mnc/ana2mnc_xfm_reduce.pl-646- $h->{datatype} = $dtypes{$dt}[0]; ############################################## minc-tools-2.3.00+dfsg/conversion/sdt2mnc/sdt2mnc-104- # first convert the header to a hash minc-tools-2.3.00+dfsg/conversion/sdt2mnc/sdt2mnc:105: foreach (split(/\n/, `cat $infile`)){ minc-tools-2.3.00+dfsg/conversion/sdt2mnc/sdt2mnc-106- ($key, $val) = split(/\:/, $_, 2); ############################################## minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile-5-default: minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile:6: $(MAKE) `ls *.c |sed 's/\.c$$//'` minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile-7- minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile-8-clean: minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile:9: rm -f `ls *.c |sed 's/\.c$$//'` minc-tools-2.3.00+dfsg/conversion/image_filters/Makefile-10- ############################################## minc-tools-2.3.00+dfsg/conversion/dicomserver_sonata/dicomserver-nondebug2.c-814- //execl("/sbin/cat", "/sbin/cat", "/usr/local/mni/bin", NULL); minc-tools-2.3.00+dfsg/conversion/dicomserver_sonata/dicomserver-nondebug2.c:815: //system ("set path=($path /usr/local/mni/bin)"); minc-tools-2.3.00+dfsg/conversion/dicomserver_sonata/dicomserver-nondebug2.c-816- ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-118- $ref .= " = $value"; minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:119: eval($ref); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-120- ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-181-&do_cmd('dicom3_to_minc', $tmpdir, $infile); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:182:chomp($conv_fn = `ls -1 $tmpdir/*.mnc`); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-183-print STDOUT " +++ Found file $conv_fn\n" if !$opt{quiet}; ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-186-my($code); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:187:chomp($buf = `mincinfo -dimnames $conv_fn`); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-188-$buf =~ s/\ $//; ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-227-my(@mosaic_size, @concat_files); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:228:chomp($mosaic_size[0] = `mincinfo -dimlength $dimnames[0] $conv_fn`); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:229:chomp($mosaic_size[1] = `mincinfo -dimlength $dimnames[1] $conv_fn`); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-230- ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-302- "-attvalue $dimnames[1]:step $conv_fn"; minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:303:my(@steps) = split(' ', `$args`); minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-304-if(($steps[0] != $gen_hdr->{xstep}) || ############################################## minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-316-# as dicom_to_minc has already extracted these, simply read in the direction cosines minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:317:$gen_hdr->{xdircos} = [split(' ', `mincinfo -attvalue xspace:direction_cosines $conv_fn`)]; minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:318:$gen_hdr->{ydircos} = [split(' ', `mincinfo -attvalue yspace:direction_cosines $conv_fn`)]; minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc:319:$gen_hdr->{zdircos} = [split(' ', `mincinfo -attvalue zspace:direction_cosines $conv_fn`)]; minc-tools-2.3.00+dfsg/conversion/siemens_mosaic2mnc/siemens_mosaic2mnc-320- ############################################## minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh-14-$MINCRESAMPLE_BIN -clobber test-rnd.mnc mincresample-out.mnc minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh:15:r1=`$MINCSTATS_BIN -quiet -sum mincresample-out.mnc` minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh-16-if [[ $r1 != "250" ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh-21-$MINCRESAMPLE_BIN -keep_real_range -clobber test-rnd.mnc mincresample-out.mnc minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh:22:r2=`$MINCSTATS_BIN -quiet -sum mincresample-out.mnc` minc-tools-2.3.00+dfsg/Testing/mincresample-test.sh-23-if [[ $r2 != "250" ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-35-# minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:36:system("$mincreshape_bin -quiet -clobber -unsigned -short test-one.mnc mincreshape-t1.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:37:my $r1=`$mincstats_bin -clobber -integer_histogram -histogram mincreshape-t1.txt -quiet -sum mincreshape-t1.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-38-if ($r1 != 125) ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-51- minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:52:system("$mincreshape_bin -quiet -clobber -start -1,-1,-1 mincreshape-t1.mnc mincreshape-t2.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:53:my $r1=`$mincstats_bin -clobber -integer_histogram -histogram mincreshape-t2.txt -quiet -sum mincreshape-t2.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-54-my @h2 = read_histogram('mincreshape-t2.txt'); ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-62- minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:63:system("$mincreshape_bin -quiet -fillvalue 2 -clobber -start -1,-1,-1 mincreshape-t1.mnc mincreshape-t3.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:64:my $r1=`$mincstats_bin -clobber -integer_histogram -histogram mincreshape-t3.txt -quiet -sum mincreshape-t3.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-65-my @h3 = read_histogram('mincreshape-t3.txt'); ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-73- minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:74:system("$mincreshape_bin -quiet -clobber -ydirection -unsigned -byte test-rnd.mnc mincreshape-t4.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:75:my $r1=`$mincstats_bin -clobber -integer_histogram -histogram mincreshape-t4.txt -quiet -sum2 mincreshape-t4.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-76-if (int($r1) != 750) ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-80-} minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:81:my $r1 = `$mincinfo_bin -attvalue yspace:step test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:82:my $r2 = `$mincinfo_bin -attvalue yspace:step mincreshape-t4.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-83-if ($r1 != -$r2) ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-88-} minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:89:my $r1 = `$mincextract_bin -byte -range 0 4 -start 4,0,0 -count 1,5,1 test-rnd.mnc | od -An -td1`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:90:my $r2 = `$mincextract_bin -byte -range 0 4 -start 4,0,0 -count 1,5,1 mincreshape-t4.mnc | od -An -td1`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-91-my @a1 = split(' ', $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-111- minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:112:system("$mincreshape_bin -clobber -quiet -unsigned -byte test-rnd.mnc mincreshape-t5a.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:113:system("$mincreshape_bin -quiet -fillvalue 100 -clobber -start -1,0,0 mincreshape-t5a.mnc mincreshape-t5.mnc"); minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl:114:my $r1=`$mincstats_bin -clobber -integer_histogram -histogram mincreshape-t5.txt -quiet -sum mincreshape-t5.mnc`; minc-tools-2.3.00+dfsg/Testing/mincreshape-test.pl-115-my @h5 = read_histogram('mincreshape-t5.txt'); ############################################## minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh-10-$MINCAVERAGE_BIN -clobber mincaverage-in0.mnc mincaverage-in1.mnc mincaverage-out.mnc minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh:11:r1=`$MINCSTATS_BIN -quiet -sum mincaverage-out.mnc` minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh-12-if [[ $r1 != "-88.5" ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh-17-$MINCAVERAGE_BIN -normalize -clobber mincaverage-in0.mnc mincaverage-in1.mnc mincaverage-out.mnc minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh:18:r2=`$MINCSTATS_BIN -quiet -sum mincaverage-out.mnc` minc-tools-2.3.00+dfsg/Testing/mincaverage-test.sh-19-if [[ $r2 != "-22.25" ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-13- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:14:my $r1 = `$mincinfo_bin -version`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-15-if ($? != 0) ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-26- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:27:my $r1 = `$mincinfo_bin -help 2>&1`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-28-if ($? != 256) ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-41- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:42:my $r1 = `$mincinfo_bin test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-43-my $c2result = <<HERE; ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-60- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:61:my $r1 = `$mincinfo_bin -dimnames test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-62-if ($r1 ne "xspace yspace zspace \n") ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-70- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:71:my $r1 = `$mincinfo_bin -varnames test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-72-if ($r1 ne "image image-min image-max xspace yspace zspace acquisition patient study \n") ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-80- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:81:my $r1 = `$mincinfo_bin -dimlength xspace test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-82-if ($r1 ne "5\n") ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-90- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:91:my $r1 = `$mincinfo_bin -vartype image-max -vartype image -vartype study test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-92-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-102- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:103:my $r1 = `$mincinfo_bin -vardims study -vard image test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-104-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-114- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:115:my $r1 = `$mincinfo_bin -varatt xspace test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-116-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-122-} minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:123:my $r1 = `$mincinfo_bin -varatt image test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-124-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-133- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:134:my $r1 = `$mincinfo_bin -varval xspace test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-135-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-141-} minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:142:my $r1 = `$mincinfo_bin -varvalues image-max test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-143-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-152- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:153:my $r1 = `$mincinfo_bin -atttype image:valid_range -atttype xspace:length -atttype image:dimorder test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-154-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-164- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:165:my $r1 = `$mincinfo_bin -attvalue image:valid_range -attvalue xspace:length -attvalue image:dimorder test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-166-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-176- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:177:my $r1 = `$mincinfo_bin -minc_ver test-zero.mnc test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-178-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-188- minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl:189:my $r1 = `$mincinfo_bin -error_string Testing -attvalue image:xyzzy test-zero.mnc test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincinfo-test.pl-190-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-15-$MINCCALC_BIN -clobber -quiet -expression "A[0]+A[1];" test-one.mnc test-two.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:16:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-17-if [[ $r1 != '375' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-26-$MINCCALC_BIN -clobber -quiet -expression "A[0]*A[1]" test-one.mnc test-two.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:27:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-28-if [[ $r1 != '250' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-39-$MINCCALC_BIN -clobber -quiet -expression "ratio = A[0]/A[1]; exp(-ratio)" test-one.mnc test-two.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:40:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-41-if [[ $r1 != '75.81633329' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-52-$MINCCALC_BIN -clobber -quiet -expression "x = cos(A[0])+A[1]; sqrt(x)" test-zero.mnc test-two.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:53:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-54-if [[ $r1 != '216.5063471' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-65-$MINCCALC_BIN -clobber -quiet -expression "s0=s1=s2=0; for {i in [0:len(A))} { v=A[i]; s0 = s0 + 1; s1 = s1 + v; s2 = s2 + v*v; }; stdev = (s0>1) ? sqrt((s2 - s1*s1/s0) / (s0-1)) : (s0 > 0) ? 0 : NaN ; mean = (s0 > 0) ? s1 / s0 : NaN;" test-one.mnc test-one.mnc test-two.mnc -outfile mean minccalc-out.mnc -outfile stdev minccalc-out2.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:66:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-67-if [[ $r1 != '166.6666716' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-72-fi minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:73:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out2.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-74-if [[ $r1 != '72.16878235' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-83-$MINCCALC_BIN -clobber -quiet -expression "clamp(A[0]+A[1], 1, 4)" test-one.mnc test-rnd.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:84:r1=`$MINCSTATS_BIN -quiet -min minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-85-if [[ $r1 != '1' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-90-fi minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:91:r1=`$MINCSTATS_BIN -quiet -max minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-92-if [[ $r1 != '4' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-101-# minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:102:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-103-if [[ $r1 != '350' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-115-# minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:116:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-117-if [[ $r1 != '50' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-126-$MINCCALC_BIN -clobber -quiet -expression 'm=0;n=len(A); for {i in (m:n)} { 1; }; m;' test-zero.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:127:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-128-if [[ $r1 != '0' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-137-$MINCCALC_BIN -clobber -quiet -expression 'm=0;n=len(A); for {i in (m:n)} { 1; }; n;' test-zero.mnc minccalc-out.mnc minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh:138:r1=`$MINCSTATS_BIN -quiet -sum minccalc-out.mnc` minc-tools-2.3.00+dfsg/Testing/minccalc-test.sh-139-if [[ $r1 != '125' ]]; then ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-13- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:14:my $r1 = `$mincstats_bin test-zero.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-15-if ($? != 0) ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-56- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:57:my $r1 = `$mincstats_bin -sum -sum2 test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-58-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-69- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:70:my $r1 = `$mincstats_bin -mean test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-71-if ($r1 !~ /^Mean:\s+2$/) ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-79- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:80:my $r1 = `$mincstats_bin -stddev -variance test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-81-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-92- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:93:my $r1 = `$mincstats_bin -max -min test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-94-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-104- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:105:my $r1 = `$mincstats_bin -com test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-106-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-120- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:121:my $r1 = `$mincstats_bin -median -entropy test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-122-my @arr = split(/^/m, $r1); ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-136- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:137:my $r1 = `$mincstats_bin -clobber -histogram test-hist.txt test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-138-open(FH, "< test-hist.txt") or die "Cannot open histogram for reading: $!"; ############################################## minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-177- minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl:178:my $r1 = `$mincstats_bin -clobber -integer_hist -histogram test-ihist.txt test-rnd.mnc`; minc-tools-2.3.00+dfsg/Testing/mincstats-test.pl-179-open(FH, "< test-ihist.txt") or die "Cannot open histogram for reading: $!"; ############################################## minc-tools-2.3.00+dfsg/debian/createmanpages-4- minc-tools-2.3.00+dfsg/debian/createmanpages:5:VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'` minc-tools-2.3.00+dfsg/debian/createmanpages-6-NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1` ############################################## minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit-85- minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit:86:me=`basename $0` minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit-87-usage="Usage: $me <minc file> [<editor>]" ############################################## minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit-135-infile="$1" minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit:136:backup_infile=`echo ${infile} | sed -e "s/\.mnc/\.bu-$$\.mnc/"` minc-tools-2.3.00+dfsg/.pc/01_mincedit-sensible-viewer.diff/progs/mincedit/mincedit-137-cdl_prefix=mincedit-$$