Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/head.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/coreutils/head.c
r2725 r3232 11 11 /* BB_AUDIT GNU compatible -c, -q, and -v options in 'fancy' configuration. */ 12 12 /* http://www.opengroup.org/onlinepubs/007904975/utilities/head.html */ 13 14 //usage:#define head_trivial_usage 15 //usage: "[OPTIONS] [FILE]..." 16 //usage:#define head_full_usage "\n\n" 17 //usage: "Print first 10 lines of each FILE (or stdin) to stdout.\n" 18 //usage: "With more than one FILE, precede each with a filename header.\n" 19 //usage: "\n -n N[kbm] Print first N lines" 20 //usage: IF_FEATURE_FANCY_HEAD( 21 //usage: "\n -c N[kbm] Print first N bytes" 22 //usage: "\n -q Never print headers" 23 //usage: "\n -v Always print headers" 24 //usage: ) 25 //usage: "\n" 26 //usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)." 27 //usage: 28 //usage:#define head_example_usage 29 //usage: "$ head -n 2 /etc/passwd\n" 30 //usage: "root:x:0:0:root:/root:/bin/bash\n" 31 //usage: "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" 13 32 14 33 #include "libbb.h"
Note:
See TracChangeset
for help on using the changeset viewer.