diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-04-07 01:36:10 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-04-07 01:36:10 +0000 |
commit | b822e7857db551e6c717f82ec086c1027b550d98 (patch) | |
tree | a0ed80c1fc64e9508451894accb40b4cfeb7fbd8 /test/ppmdim.test | |
parent | 1b72ac8d1efa4824ba3e4865ee9c89085cf5decf (diff) | |
download | netpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.tar.gz netpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.tar.xz netpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.zip |
Replace some GNU-only code with more portable version
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2453 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmdim.test')
-rwxr-xr-x | test/ppmdim.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ppmdim.test b/test/ppmdim.test index 438d41d3..848e2e9f 100755 --- a/test/ppmdim.test +++ b/test/ppmdim.test @@ -19,7 +19,7 @@ for i in 0.125 0.25 0.5 0.75 0.1 0.0117 0.2 0.4 0.333 0.666 0.8 0.9 0.95 pamfunc -mult=$i testimg.ppm > ${dim2_ppm} pamarith -diff ${dim1_ppm} ${dim2_ppm} | \ pamsumm -mean -brief | \ - awk '{print $1<0.75 ? "ok" : "fail"}' + awk '{print ($1<0.75) ? "ok" : "fail"}' done rm ${dim1_ppm} ${dim2_ppm} |