aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
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-11-03Make sha1sum and md5sum default to y.Rob Landley
2012-11-01Add vconfig.c - Creates virtual ethernet devices.Kyungwan Han
2012-10-26Follow symlinks to get actual device name, getmountlist() reverses order for ↵Rob Landley
us now, detect stdout to full device.
2012-10-23Add md5sum in lsb, combine sha1sum (mostly shared infrastructure). Downside: ↵Rob Landley
current infrastructure can't give them different help text. Hmmm...
2012-10-08Simplify sha1sum a little.Rob Landley
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-10-06Fix catv to display byte 255 correctly. (It's both M- and ^?.)Rob Landley
2012-10-05Cleanup mknod.Rob Landley
2012-09-17Clean up sha1sum, make it use global union properly.Rob Landley
2012-09-09gethostname: Tighten up error messages slightly, switch to default "y".Rob Landley
2012-09-08Add switch_root and fix infrastructure to understand name "switch_root".Rob 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-09-03mktemp broke kernel build, so new rules: if you don't specify anything, ↵Rob Landley
/tmp/tmp.* Specify a file, ./file. Specify -p dir then dir/tmp.*. Specify -p dir and file, dir/file. Also implement -q which lsb wants.
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
2012-08-18Fix bug spotted by Avery Pennarun: getusername() and getgroupname() can ↵Rob Landley
reuse the utoa buffer when neither is recognized, meaning uid would be shown again instead of gid.
2012-08-16Bugfix from Avery Pennarun: getpriority() uses a different range than ↵Rob Landley
nice(), so follow thenice man page and zero errno then check it if nice returns -1.
2012-08-15Adding usleepElie De Brauwer
2012-08-05Rewrite taskset to use syscall directly without macros/prototypes glibc ↵Rob Landley
refuses to make available without yet more wacky inappropriate #defines. (Linux is not the hurd.)
2012-07-31Refactoring, no code change.Rob Landley
2012-07-30Add dos2unix/unix2dos, remove old wrapper versions.Rob Landley
2012-07-24Minor cleanups, mostly whitespace.Rob Landley
2012-07-21Make chmod +w respect umask, implement +s and +t, fix ls to show ↵Rob Landley
suid/sgid/stid without x bit.
2012-07-21Use "_password" instead of "_passwd" for names in lib/password.c.Rob Landley
2012-07-21Add date -r, make -u work even when /etc/localtime set, and lots of ↵Rob Landley
cleanup/refactoring.
2012-07-20taskset.c now also support executing new commands with a given cpu affinity maskElie De Brauwer
2012-07-20toys/login.c: make use of the read_passwd function offered by the passwd ↵Elie De Brauwer
library.
2012-07-18Trivial cleanups.Rob Landley
2012-07-18Cleanup of w command.Rob Landley
2012-07-18Add w command by Gaurang Shastri.Rob Landley
2012-07-17Largely cosmetic code cleanups.Rob Landley
2012-07-15Adding initial implementation of tasksetElie De Brauwer
2012-07-17Add passwd by Kyungwan Han.Rob Landley
2012-07-15Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵Rob Landley
longer accept NULL as a synonym for free.
2012-07-14Fill out od -c and -f.Rob Landley
2012-07-11Complete rewrite of od, mostly working. (Need to finish -c and -f.)Rob Landley
2012-07-09Add modinfo by Andre Renaud.Rob Landley
2012-07-05- Do not abort testing after running the sort testsElie De Brauwer
- Add tail testcases for input not ending on a newline - Fix condition where input coming from stdin does not have a trailing newline
2012-07-05Put cmp.c EOF notice on stderrElie De Brauwer
2012-07-05Add LSB link to the template, for reference.Rob Landley