implemented a builtin echo command in ash. moved the guts of the

echo applet into libbb, and now call bb_echo() from both echo.c
and ash.c
This commit is contained in:
Paul Fox
2005-08-09 19:38:05 +00:00
parent 3f11b1bf63
commit 0b62158475
7 changed files with 204 additions and 172 deletions

View File

@@ -103,6 +103,21 @@ config CONFIG_ASH_CMDCMD
you to run the specified command with the specified arguments,
even when there is an ash builtin command with the same name.
config CONFIG_ASH_BUILTIN_ECHO
bool " Enable builtin version of 'echo'"
default n
depends on CONFIG_ASH
help
Enable support for echo, built in to ash.
# this entry also appears in coreutils/Config.in, next to the echo applet
config CONFIG_FEATURE_FANCY_ECHO
bool " Enable echo options (-n and -e)"
default y
depends on CONFIG_ASH_BUILTIN_ECHO
help
This adds options (-n and -e) to echo.
config CONFIG_ASH_MAIL
bool " Check for new mail on interactive shells"
default y