diff options
| author | John Beppu <beppu@lbox.org> | 1999-12-10 07:42:50 +0000 |
|---|---|---|
| committer | John Beppu <beppu@lbox.org> | 1999-12-10 07:42:50 +0000 |
| commit | 3157b1fba9ee8a558b04e9025da9f77e4256c0ea (patch) | |
| tree | 27ea10d69773a06c8618132a2b76e7583db9da9c /applets | |
| parent | a3e0d7928b0042dfe1be94da62b750664306b404 (diff) | |
| download | busybox-w32-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.tar.gz busybox-w32-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.tar.bz2 busybox-w32-3157b1fba9ee8a558b04e9025da9f77e4256c0ea.zip | |
Implemented head(1).
tried to mimic GNU behaviour.
Diffstat (limited to 'applets')
| -rw-r--r-- | applets/busybox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 4ac907665..f4573019b 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
| @@ -75,6 +75,9 @@ static const struct Applet applets[] = { | |||
| 75 | #ifdef BB_HALT //sbin | 75 | #ifdef BB_HALT //sbin |
| 76 | {"halt", halt_main}, | 76 | {"halt", halt_main}, |
| 77 | #endif | 77 | #endif |
| 78 | #ifdef BB_HEAD //bin | ||
| 79 | {"head", head_main}, | ||
| 80 | #endif | ||
| 78 | #ifdef BB_HOSTNAME //bin | 81 | #ifdef BB_HOSTNAME //bin |
| 79 | {"hostname", hostname_main}, | 82 | {"hostname", hostname_main}, |
| 80 | #endif | 83 | #endif |
