Oxidopamine/gentils — pull request #44 by nebukadnezzar (2012-11-29 16:41:40+00:00)
Title: Added '-e' flag to echo command

First attempt to add '-e' flag to echo, without any intermediate buffers (so, no malloc, at least for now).

I still say that using getopt is a bad idea, because consider this scenario:

$ ./echo -f blah blah
echo: unknown option -- -f

I'm almost sure this behaviour can be "disabled", but it's really just a hack. I'd recommend using manually parsing the flags (which is really not that tragic for two flags).