[petsc-dev] printf versus echo -e/-n

Matthew Knepley knepley at gmail.com
Sat Oct 20 10:59:44 CDT 2012


On Sat, Oct 20, 2012 at 11:46 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

>
> https://bitbucket.org/petsc/petsc-dev/changeset/26de1ead89b9285efb27a8689180876aa83921a5
>
>
> http://stackoverflow.com/questions/11530203/what-is-more-portable-echo-e-or-using-printf


Okay, I will bite. Why would you use the clearly less portable solution?

  Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121020/ce9240f7/attachment.html>


More information about the petsc-dev mailing list