aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
AgeCommit message (Collapse)Author
2012-11-10On 32 bit platforms %ld doesn't match uint64_t, so do long long and %lld ↵Rob Landley
(rather than deal with verbose PRIu64 nonsense).
2012-11-10Fix reversed test: patch creates a file if /dev/null or dated the epoch ↵Rob Landley
_and_ first hunk being replaced is 0 lines at start of file, not one or the other.
2012-11-08Change df percentage calculation to match posix, spotted by Roy Tam.Rob Landley
2012-11-08wc -m only cares about counting characters. Attached is a try on ↵Felix Janda
implementing it and some test cases for it. The test cases are only for UTF-8 locales.
2012-10-26Follow symlinks to get actual device name, getmountlist() reverses order for ↵Rob Landley
us now, detect stdout to full device.
2012-10-08Fix thinko for uname -m when i686 binary runs on x86_64 host.Rob Landley
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
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.
2012-10-07Missing line in patch -l. Oops.Rob Landley
2012-10-06patch -l (loose match)Rob Landley
2012-10-06Trivial cleanupRob Landley
2012-09-06I screwed up ls in commit 580. Oops. Fix it.Rob Landley
2012-09-06Posix compliance: wc shouldn't have trailing spaces (breaks aboriginal's mkinitrRob Landley
amfs script), when to print filenames was wrong, and it should have a "total" line when counting multiple arguments.
2012-08-27Roy Tam pointed out that sh.c didn't get fully converted.Rob Landley
2012-08-26Add du command.Ashwini Kumar
2012-08-25Regularize command headers, update links to standards documents.Rob Landley
2012-08-25Toysh is our posix sh, so move from "other" to "posix" and use sh as the ↵Rob Landley
base command name.
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley