summaryrefslogtreecommitdiff
path: root/coreutils/head_tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/head_tail.c')
-rw-r--r--coreutils/head_tail.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/coreutils/head_tail.c b/coreutils/head_tail.c
new file mode 100644
index 0000000..1658c0d
--- /dev/null
+++ b/coreutils/head_tail.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2013 Denys Vlasenko
+ *
+ * Licensed under GPLv2, see file LICENSE in this source tree.
+ */
+#include "libbb.h"
+#include "head_tail.h"
+
+const struct suffix_mult head_tail_suffixes[] = {
+ { "b", 512 },
+ { "k", 1024 },
+ { "m", 1024*1024 },
+ { "", 0 }
+};