Commit 8b50dd8a authored by Ian Humphrey's avatar Ian Humphrey
Browse files

PROG Fixed issue with disregarding multi-line filepaths. References #1449.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6086 41f8697f-d340-4b68-9986-7bafba869bb8
parent a3adbd69
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ commands:
	> $(OUTPUT)/noSampleLineTruth.txt;
	cat $(OUTPUT)/noSampleLineTruth.txt | \
	$(SED) 's/\([0-9]*\.[0-9]\{5\}\)[0-9]*/\1/g' | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/' \
	>& $(OUTPUT)/noSampleLineTruthtmp.txt;
	$(MV) $(OUTPUT)/noSampleLineTruthtmp.txt \
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ commands:
	to=$(OUTPUT)/pointlistAppendTruth.pvl \
	coordtype=IMAGE > /dev/null;
	cat $(OUTPUT)/pointlistAppendTruth.pvl | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/g' \
	> $(OUTPUT)/pointlistAppendTruthtmp.pvl;
	$(MV) $(OUTPUT)/pointlistAppendTruthtmp.pvl \
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ commands:
	to=$(OUTPUT)/pointlistGroundTruth.pvl \
	append=false coordtype=GROUND > /dev/null;
	cat $(OUTPUT)/pointlistGroundTruth.pvl | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/g' \
	> $(OUTPUT)/pointlistGroundTruthtmp.pvl; 
	$(MV) $(OUTPUT)/pointlistGroundTruthtmp.pvl \
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ commands:
	to=$(OUTPUT)/pointlistNoAppendTruth.pvl \
	coordtype=IMAGE append=FALSE > /dev/null;
	cat $(OUTPUT)/pointlistNoAppendTruth.pvl | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/g' \
	> $(OUTPUT)/pointlistNoAppendTruthtmp.pvl;
	$(MV) $(OUTPUT)/pointlistNoAppendTruthtmp.pvl \
@@ -27,6 +28,7 @@ commands:
	to=$(OUTPUT)/pointlistNoAppendTruth.csv \
	append=FALSE > /dev/null;
	cat $(OUTPUT)/pointlistNoAppendTruth.csv | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/^.*\(ab102401.cub\)\(.*\)/\1\2/g' \
	> $(OUTPUT)/pointlistNoAppendTruthtmp.csv;
	$(MV) $(OUTPUT)/pointlistNoAppendTruthtmp.csv \
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ commands:
	sample=10 > /dev/null;
	cat $(OUTPUT)/onlySampleTruth.pvl | \
	$(SED) 's/\([0-9]*\.[0-9]\{5\}\)[0-9]*/\1/g' | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/' \
	> $(OUTPUT)/onlySampleTruthtmp.pvl;
	$(MV) $(OUTPUT)/onlySampleTruthtmp.pvl \
@@ -18,6 +19,7 @@ commands:
	line=10 > /dev/null;
	cat $(OUTPUT)/onlyLineTruth.pvl | \
	$(SED) 's/\([0-9]*\.[0-9]\{5\}\)[0-9]*/\1/g' | \
	$(SED) '/Filename.*/ { N; N; N; N; s/-\n[ ]*//g; }' | \
	$(SED) 's/\(.*= \).*\(ab102401.cub\)/\1\2/' \
	> $(OUTPUT)/onlyLineTruthtmp.pvl;
	$(MV) $(OUTPUT)/onlyLineTruthtmp.pvl \