]> diplodocus.org Git - nmh/blobdiff - test/README
Fix invalid pointer arithmetic.
[nmh] / test / README
index 7b1de5fde9c2d43247ad1dc884246c64bf388aa1..e9dae928a1f1a9b0b31419fc0255c51f476f33d6 100644 (file)
@@ -71,6 +71,9 @@ in the test scripts.  In particular:
 - Avoid depending on the exact format of output from system (non-nmh)
   programs.
 
 - Avoid depending on the exact format of output from system (non-nmh)
   programs.
 
+- Use octal instead of hex (\x) bytes in printf(1) formats, because hex
+  is not supported by POSIX printf.
+
 The Heirloom Bourne Shell, http://heirloom.sourceforge.net/sh.html,
 catches many non-portable shell constructs, such as $(), $(()), !, and
 assignment in export statements.
 The Heirloom Bourne Shell, http://heirloom.sourceforge.net/sh.html,
 catches many non-portable shell constructs, such as $(), $(()), !, and
 assignment in export statements.
@@ -78,3 +81,7 @@ assignment in export statements.
 checkbashisms, available at http://sourceforge.net/projects/checkbaskisms/,
 might help some catch problems.  Though it misses all of the troublesome
 constructs, except for assignment in an export statement, listed above.
 checkbashisms, available at http://sourceforge.net/projects/checkbaskisms/,
 might help some catch problems.  Though it misses all of the troublesome
 constructs, except for assignment in an export statement, listed above.
+
+The "Portable Shell" section of the Autoconf info manual has a wealth
+of tips for avoiding portability problems in shell scripts.  It might
+be available by entering:  info autoconf portable.