[PATCH 08/12] echo: add -e option support

Peter Korsgaard jacmet at sunsite.dk
Tue Mar 30 07:45:33 EDT 2010


>>>>> "Sascha" == Sascha Hauer <s.hauer at pengutronix.de> writes:

 Sascha> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
 Sascha> ---
 Sascha>  commands/echo.c |   52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 Sascha>  1 files changed, 51 insertions(+), 1 deletions(-)

 Sascha> diff --git a/commands/echo.c b/commands/echo.c
 Sascha> index d5640a0..6f4f136 100644
 Sascha> --- a/commands/echo.c
 Sascha> +++ b/commands/echo.c
 Sascha> @@ -26,12 +26,59 @@
 Sascha>  #include <fcntl.h>
 Sascha>  #include <errno.h>
 
 Sascha> +static int my_fputs(int fd, const char *s)

That's not a very descriptive name - What about something like
advanced_fputs, escape_fputs or format_fputs?

-- 
Bye, Peter Korsgaard



More information about the barebox mailing list