diff options
author | Matt Kraai <kraai@debian.org> | 2001-04-12 20:44:21 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-04-12 20:44:21 +0000 |
commit | 4ef40c02f42fdc9131ae4de86499f8ccf584242d (patch) | |
tree | 661166b4830bc60da6a16fdc03a5c17e26912ac3 | |
parent | 8fc364ebd5589bab9944c7eda078f23bca712e24 (diff) | |
download | busybox-w32-4ef40c02f42fdc9131ae4de86499f8ccf584242d.tar.gz busybox-w32-4ef40c02f42fdc9131ae4de86499f8ccf584242d.tar.bz2 busybox-w32-4ef40c02f42fdc9131ae4de86499f8ccf584242d.zip |
Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>.
-rw-r--r-- | lash.c | 2 | ||||
-rw-r--r-- | sh.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) | |||
1909 | if (interactive==TRUE) { | 1909 | if (interactive==TRUE) { |
1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
1911 | /* Looks like they want an interactive shell */ | 1911 | /* Looks like they want an interactive shell */ |
1912 | printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); | 1912 | printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); |
1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); | 1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); |
1914 | } else if (local_pending_command==NULL) { | 1914 | } else if (local_pending_command==NULL) { |
1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) | |||
1909 | if (interactive==TRUE) { | 1909 | if (interactive==TRUE) { |
1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
1911 | /* Looks like they want an interactive shell */ | 1911 | /* Looks like they want an interactive shell */ |
1912 | printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); | 1912 | printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); |
1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); | 1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); |
1914 | } else if (local_pending_command==NULL) { | 1914 | } else if (local_pending_command==NULL) { |
1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
diff --git a/shell/lash.c b/shell/lash.c index 69fcbe6be..243ba8139 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1909,7 +1909,7 @@ int shell_main(int argc_l, char **argv_l) | |||
1909 | if (interactive==TRUE) { | 1909 | if (interactive==TRUE) { |
1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1910 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |
1911 | /* Looks like they want an interactive shell */ | 1911 | /* Looks like they want an interactive shell */ |
1912 | printf( "\n\nBusyBox v%s (%s) Built-in shell (lash)\n", BB_VER, BB_BT); | 1912 | printf( "\n\n" BB_BANNER " Built-in shell (lash)\n"); |
1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); | 1913 | printf( "Enter 'help' for a list of built-in commands.\n\n"); |
1914 | } else if (local_pending_command==NULL) { | 1914 | } else if (local_pending_command==NULL) { |
1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1915 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |