hush: add "heredoc.tests" from ash, tweak ash "is a function" message

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2018-07-24 17:08:04 +02:00
parent 41ef41b3e0
commit 63c42afaa4
4 changed files with 120 additions and 2 deletions

View File

@ -8512,7 +8512,8 @@ describe_command(char *command, const char *path, int describe_command_verbose)
case CMDFUNCTION:
if (describe_command_verbose) {
out1str(" is a shell function");
/*out1str(" is a shell function");*/
out1str(" is a function"); /* bash says this */
} else {
out1str(command);
}