[PATCH] add basename/dirname commands

Sascha Hauer s.hauer at pengutronix.de
Sun Jun 24 07:29:13 EDT 2012


basename and dirname are handy commands, add support for it.

----------------------------------------------------------------
Sascha Hauer (2):
      Add basename command
      Add dirname command

 commands/Kconfig    |   14 ++++++++++++++
 commands/Makefile   |    2 ++
 commands/basename.c |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 commands/dirname.c  |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 110 insertions(+)
 create mode 100644 commands/basename.c
 create mode 100644 commands/dirname.c



More information about the barebox mailing list