aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2012-02-20Tighten up the source code in largely cosmetic ways.Rob Landley
2012-02-20Minor cleanups: lsmod should USE_LSMOD() instead of USE_FREE(), use ↵Rob Landley
consistent tab/space idents, and doesn't need a break after a function that exits.
2012-02-18Adding lsmodElie De Brauwer
2012-02-19Minor tweaks.Rob Landley
2012-02-18Adding swapon and swapoffElie De Brauwer
2012-02-18mkswap helpstring and argument stringElie De Brauwer
2012-02-18Nathan McSween convinced me compilers that inline memset() can optimize the ↵Rob Landley
bzero case pretty well.
2012-02-18Cleanups to killall.Rob Landley
2012-02-18Cleanups to pidof (including some global infrastructure shared with killall).Rob Landley
2012-02-18More ls updates from Andre Renaud: Add -R and initial support for listing ↵Rob Landley
files on the command line.
2012-02-18Add killall by Andreas Heck, and factor out common pid code to lib.h.Rob Landley
2012-02-18Add pidof by Andreas Heck.Rob Landley
2012-02-17Move realpath from loopfiles() to a for loop, so we don't get hung on read ↵Rob Landley
permission for file data when we just want to look at directory info.
2012-02-17Realpath, by Andre Renaud.Rob Landley
2012-02-17Move includes into toys.h, more xprintf()Rob Landley
2012-02-16Minor cleanups: trim spaces from strings, use xprintf().Rob Landley
2012-02-13Adding free and uptimeElie De Brauwer
2012-02-15Error message fix from Pere (gotrunks at gmail).Rob Landley
2012-02-15Minor cleanups to hostname.Rob Landley
2012-02-15Add hostname from Andre Renaud.Rob Landley
2012-02-13Teach ln about multiple arguments.Rob Landley
2012-02-13Add ln from Andre Renaud.Rob Landley
2012-02-13Tweak from Frank Bergmann: some broken optimizers complain about ↵Rob Landley
"type-punned pointers", so typecast to void * instead to shut it up. (Up there with the "may be used uninitialized" gripes.)
2012-02-13Second drop of ls from Andre, adds -l.Rob Landley
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