diff options
author | beppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-10 07:42:50 +0000 |
---|---|---|
committer | beppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-10 07:42:50 +0000 |
commit | f2613730396401826477c4f23168696014c1039b (patch) | |
tree | 27ea10d69773a06c8618132a2b76e7583db9da9c /applets | |
parent | af053899ad31051a87b45cf0aec38e649bd9e568 (diff) | |
download | busybox-w32-f2613730396401826477c4f23168696014c1039b.tar.gz busybox-w32-f2613730396401826477c4f23168696014c1039b.tar.bz2 busybox-w32-f2613730396401826477c4f23168696014c1039b.zip |
Implemented head(1).
tried to mimic GNU behaviour.
git-svn-id: svn://busybox.net/trunk/busybox@197 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 |