* doc/autoconf.texi (Limitations of Builtins) <export>: Give
concrete example of offender, and drop redundant text.
Reported by Stefano Lattarini.
Signed-off-by: Eric Blake <eblake@redhat.com>
2011-11-11 Eric Blake <eblake@redhat.com>
+ doc: tweak previous commit
+ * doc/autoconf.texi (Limitations of Builtins) <export>: Give
+ concrete example of offender, and drop redundant text.
+ Reported by Stefano Lattarini.
+
doc: mention export portability hint
* doc/autoconf.texi (Limitations of Builtins) <export>: Document
export limitation.
@end example
Posix requires @command{export} to honor assignments made as arguments,
-but older shells did not support this. Portable scripts should separate
-assignments and exports into different statements (it does not matter if
-the export comes before or after the assignment).
+but older shells do not support this, including @command{/bin/sh} in
+Solaris 10. Portable scripts should separate assignments and exports
+into different statements.
@example
$ @kbd{bash -c 'export foo=bar; echo $foo'}