tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cross-building dtrace from Mac OS X - echo vs. \n



Hubert Feyrer wrote:
What to do? Options that I see:
1) Make NetBSD's echo(1) or sh(1) (for its echo-builtin) a tool
2) Fix the mkerrtags.sh and mknames.sh to use e.g. printf(1)?
   I understand this makes us diverge from the upstream...
3) Ignore
How about here-documents?

BTW, I've found the Autoconf manual to be a good reference for portability issues like this:
  * echo: 
http://www.gnu.org/software/autoconf/manual/html_node/Limitations-of-Builtins.html#echo
  * printf: 
http://www.gnu.org/software/autoconf/manual/html_node/Limitations-of-Builtins.html#index-g_t_0040command_007bprintf_007d-1678
  * here-documents: 
http://www.gnu.org/software/autoconf/manual/html_node/Here_002dDocuments.html
-Richard


Home | Main Index | Thread Index | Old Index