Elliott Hughes
|
763e85820b
Canonicalize the usage: lines for the POSIX toys.
|
4 years ago |
Rob Landley
|
dd155a3ba5
Minor cleanup.
|
4 years ago |
Rob Landley
|
2a1f89e5d9
Add argument to xflush() so it can test for stdout err without flushing.
|
5 years ago |
Elliott Hughes
|
a24b0dd59e
head: add --bytes synonym for -c.
|
5 years ago |
Rob Landley
|
009b55edc4
Convert more commands to the new option/GLOBALS code style.
|
5 years ago |
Rob Landley
|
b8e0920c18
whitespace/comment tweaks.
|
7 years ago |
Ilya Kuzmich
|
77997b8e77
teach head -c
|
7 years ago |
Ilya Kuzmich
|
1abba7db3d
teach head -v and -q
|
7 years ago |
Elliott Hughes
|
eb7e847adc
Be more consistent about periods in help text.
|
7 years ago |
Rob Landley
|
d3a435e53c
Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format
|
8 years ago |
Paul Barker
|
1dd3704c5f
To ensure that toybox can be installed alongside busybox without
|
9 years ago |
Rob Landley
|
857912ee35
Fix head bug pointed out by felix janda (recent -123 code broke first file argument of -n).
|
9 years ago |
Rob Landley
|
2fd8a74dca
Add -123 support to head (suggested by Elliott Hughes).
|
9 years ago |
Rob Landley
|
662a267c9b
Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.
|
11 years ago |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 years ago |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 years ago |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 years ago |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 years ago |