On 17 Dec 2006, at 04:44, Peter O'Gorman wrote: > > There is a /usr/bin/printf for shells where it is not available as a > builtin, so in tcsh printf works too, but it uses /usr/bin/printf. > > printf(1) behaves in a very similar way to the printf(3) function. > You can, for example do: > > % printf "The current user is %s\n" $USER > The current user is peter > > So, of course: > % printf "foo" > foo > > autoconf just switched to using printf instead of echo because its > behavior is similar on all platforms where it is available, echo's > behavior varies on different platforms (or in our case, on different > versions of the same platform :-p). > > Peter
Nice explanation ! Thanks a lot ! Jean-Francois ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel