aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2012-02-13Add ls from Andre Renaud.Rob Landley
2012-02-13Minor code cleanup and typo fix.Rob Landley
2012-02-12Add test for basename, fix issue where suffix is wrongfully applied if it ↵Elie De Brauwer
appears in the middle of the filename
2012-02-10Add tests for headTimothy Elliott
This exposed one issue in head.c -- printf was not flushing and file names could appear after file contents instead of before. The issue is fixed by calling xflush after xprintf.
2012-02-11Minor cleanups to echo: collapse together three tolower() calls, make ↵Rob Landley
indent/brackets a bit more regular/obvious, and replace some spaces with tabs in help text (in a way that won't matter until I finish rewriting scripts/config2help.py in C).
2012-02-11Fix overflow in octal formatting in echo, add support for hexadecimal input, ↵Elie De Brauwer
add tests for octal and hexadecimal formatting
2012-02-11Correct cksum parameters and clarify -N optionElie De Brauwer
2012-02-10Correct description of nice levels in help of niceElie De Brauwer
2012-02-09Cleanups for head.Rob Landley
2012-02-06Implement headTimothy Elliott
2012-02-07More cmp.c shrinkage.Rob Landley
Abuse loopfiles() to handle both arguments, caching the first pass in globals. That eliminates get_fd() since loopfiles already knows how to handle "-" arg. Chop toybuf in half and use half for each file, eliminating malloc/free. main() becomes just a call to loopfiles(), which does all open/close.
2012-02-07Iterative cleanups on cmp.c: silence warnings, only free if TOYBOX_FREE, use ↵Rob Landley
xopen(), style cleanup on curly brackets.
2012-02-07Switching who default to 'n' since it's not yet fully implemented.Luis Felipe Strano Moraes
2012-02-07Added time to the output of who command.Luis Felipe Strano Moraes
2012-02-06Initial version of who command.Luis Felipe Strano Moraes
2012-02-06Silence really boring compiler warning.Luis Felipe Strano Moraes
2012-02-06Implement cmpTimothy Elliott
2012-02-07Fix sort -uc (pointer vs pointer to pointer confusion, covered by typecast).Rob Landley
2012-02-06Bugfix for -x, add CONFIG_SORT_FLOAT, and new test suite entry.Rob Landley
2012-02-05This id implementation is not remotely SUSv4 compliant, default n until I ↵Rob Landley
get a chance to finish it.
2012-02-04Tweak help command's help text, and remove unimplemented option.Rob Landley
2012-02-03Add autodetect for container support.Rob Landley
2012-02-02Implement xargs -E.Rob Landley
2012-02-02Very slight efficiency tweak.Rob Landley
2012-02-02Basename and env are usable, default them to y.Rob Landley
2012-01-30More work on xargs: bugfix and tests.Rob Landley
2012-01-28Implement xargs (first pass, not full SUSv4 yet).Rob Landley
2012-01-27Add id command from Tim Bird.Rob Landley
2012-01-22Patch shouldn't be bothered by DOS newlines.Rob Landley
2012-01-20'env' and 'basename' refactoredTryn Mirell
2012-01-18Comment changes, and add a blank line to the help text.Rob Landley
2012-01-18Add -x option to sort (like -n, but hexadecimal), because I needed it for ↵Rob Landley
something.
2012-01-16'env' implementation - InitialTryn Mirell
2012-01-15'basename': Handle where we have no / passedTryn Mirell
2012-01-15Initial 'basename' implementationTryn Mirell
2012-01-16Fluff out documentation and skeleton code.Rob Landley
2011-12-28Don't make toysh default to y until it does something useful.Rob Landley
2011-12-12Implement unshare.Rob Landley
2011-12-11Implement truncate.Rob Landley
2011-12-11Whitespace/wordwrap changes.Rob Landley
2011-12-11Implment cal.Rob Landley
2011-11-22Don't complain about "possibly reversed" hunks that merely moved later in ↵Rob Landley
the file, just give a potential reason if it failed to apply.
2011-11-20Implement unlink.Rob Landley
2011-11-20Implement nohup.Rob Landley
2011-11-20Add link.Rob Landley
2011-11-18Add dirname, and typo fixes to wc header.Rob Landley
2011-11-17Add wc.Rob Landley
2011-11-15SUSv4 is out, update template link.Rob Landley
2011-11-15Implement tty command.Rob Landley
2011-11-13Prepare for license switch by (regrettably) removing Charlie Shepherd's ↵Rob Landley
code, at least until I can get in touch with him to to get permission to relicense it. Charlie's @gentoo address bounces, and he hasn't replied to his @gmail address. I welcome him as a contributor but can't _find_ him, so I can't ship his basename, dirname, mkfifo, touch, and tty command code under a non-GPL license. This essentially reverts the following commits: 147: implement touch 157: implement mkfifo 160: tweak touch 161: touch bugfix 162: touch -l 176: implement basename, dirname 179: implement tty I also looked at these commits, which Charlie contributed to but which don't need to be reverted. (Mostly whitespace changes and typo fixes, plus some minor changes to build infrastructure that don't affect the resulting code.) *149: add null pointer check *154: add .hgignore *155: whitespace *156: whitespace (the rest is by me) *158: add toys/help.h to makefile dependencies *159: fix typo in description *164: typo in df (dereference pointer) *180: .hgignore *182: whitespace in error messages *183: add headers to make dependencies *244: comment and whitespace cleanups *247: build tweak: error checking *248: typo in comment *249: .hgignore *250: wrong word in comment *251: whitespace *252: whitespace Several files in the "scripts" directory are still GPLv2 (kconfig, bloat-o-meter, Robert Foglietta's bash version of config2help.sh), but they're just build infrastructure that doesn't wind up in the resulting binary. I plan to address this later on general principles, but it's "mere aggregation" and not an immediate priority.)