On Mon, 17 Dec 2012, sven falempin wrote:
So much to just print ...
so:
1 echo is crap (not portable, not very usefull)
2 print is doing echo job in ksh print [-nprsu[n] | -R [-en]] [argument
...] (but this is completly different on pengouinOS)
3 printf is everywhere and works fine
why do echo exist , now i wonder ...
it's because under unix it's a different philosophy for software
development.
instead of building one huge application, build small tools and chain them
together using pipes and output redirection using pure text as the
exchange format.
it's a lot more flexible and easier to debug.
also, under unix, one first prototypes using various existing tools like
awk, sed and the shell itself and then implements the final solution.
Thanks a lots.
you're quite welcome. :)
~mayuresh