Loading isis/src/base/apps/caminfo/tsts/csv/Makefile +3 −1 Original line number Diff line number Diff line Loading @@ -7,9 +7,11 @@ commands: $(APPNAME) FROM=$(OUTPUT)/input.cub \ TO=$(OUTPUT)/temp.txt FORMAT=flat APPEND=false \ STATISTICS=true CAMSTATS=true GEOMETRY=true spice=true > /dev/null; # Remove the trailing decimal place on numbers # Replace the caminfo,version number | date with "caminfo,version | date" cat $(OUTPUT)/temp.txt | \ sed 's/\([0-9]*\.[0-9]\{4\}\)\([0-9]*\)/\1/g' | \ sed 's/\([a-z]*\,\)\([0-9]\.[0-9]*\.[0-9]*\.[A-Za-z0-9]* [a-z]* | [0-9]\{4\}\-[0-9]\{2\}\-[0-9]\{2\}\)/\1/g' \ sed 's/\([a-z]*\,\)\([0-9]\.[0-9]*\.[0-9]*.*| [0-9]\{4\}\-[0-9]\{2\}\-[0-9]\{2\}\)/\1version | date/g' \ > $(OUTPUT)/truth.txt; $(RM) $(OUTPUT)/temp.txt; $(RM) $(OUTPUT)/input.cub; Loading
isis/src/base/apps/caminfo/tsts/csv/Makefile +3 −1 Original line number Diff line number Diff line Loading @@ -7,9 +7,11 @@ commands: $(APPNAME) FROM=$(OUTPUT)/input.cub \ TO=$(OUTPUT)/temp.txt FORMAT=flat APPEND=false \ STATISTICS=true CAMSTATS=true GEOMETRY=true spice=true > /dev/null; # Remove the trailing decimal place on numbers # Replace the caminfo,version number | date with "caminfo,version | date" cat $(OUTPUT)/temp.txt | \ sed 's/\([0-9]*\.[0-9]\{4\}\)\([0-9]*\)/\1/g' | \ sed 's/\([a-z]*\,\)\([0-9]\.[0-9]*\.[0-9]*\.[A-Za-z0-9]* [a-z]* | [0-9]\{4\}\-[0-9]\{2\}\-[0-9]\{2\}\)/\1/g' \ sed 's/\([a-z]*\,\)\([0-9]\.[0-9]*\.[0-9]*.*| [0-9]\{4\}\-[0-9]\{2\}\-[0-9]\{2\}\)/\1version | date/g' \ > $(OUTPUT)/truth.txt; $(RM) $(OUTPUT)/temp.txt; $(RM) $(OUTPUT)/input.cub;