> +# NOTE: echo '\n' is not portable. Some shells interpret and
> +# change it to an actual newline character. The ugly hack here
> +# is to use two echo commands:
> +# echo -n 'blah\'
> +# echo 'n'
> +# This is probably more portable in Perl.
Neither is echo -n, or the \' part.. some echo versions does not
understand -n and might complain or echo it. Some shells or echo commnds
might "unescape" the \'...
There are at least two portable approaches:
a) Rewrite the generator into perl or awk
b) Make use of a included define for "\n".
/Henrik
Received on Tue Jun 27 2000 - 01:23:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:31 MST