aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2012-03-03Add -A to lsAndre Renaud
2012-03-02This uses floating point.Rob Landley
2012-03-02Add copyright notice, fluff out help text, use xexec().Rob Landley
2012-03-02Only show one normal difference (sans -l) and EOF message should go to ↵Rob Landley
stdout, not stderr.
2012-03-02Cleanup pass, and support unrecognized slash chars ala "echo -e \p".Rob Landley
2012-03-01Add -n, which kernel build needs.Rob Landley
2012-02-28Add "-" type to optargs and teach tail.c to use it. Tighten up help text, ↵Rob Landley
use xzalloc() and xputc() as appropriate.
2012-02-27Upgrade yesno() and make cp -i use it.Rob Landley
2012-02-26The aboriginal linux build needs ls -ditc and probably some more ↵Rob Landley
unimplemented options yet...
2012-02-26Teach patch -p that consecutive /// counts as one path component.Rob Landley
2012-02-26Teach lib/args.c that " " this option must take a _separate_ argument, so ↵Rob Landley
"kill -stop" and "kill -s top" aren't the same thing. Make kill.c use it, and remove leftover debug printfs.
2012-02-26Factor out common code between killall/kill and move it to lib/lib.c, plus ↵Rob Landley
cleanups on kill.c.
2012-02-23Implemented -i for cpBryce Fricke
2012-02-23Bugfix: use the right USE symbol.Rob Landley
2012-02-23Add tail.Timothy Elliott
Disabled by default because the -f option is not implemented.
2012-02-21update id to be SUS compliantDaniel Walter
* add -n and -G flag * allow a username to be given as argument * display complete list of groups * include it in default build
2012-02-21Add in the -n support, and the 64-bit defines. Force ls to act as ls -1 if ↵Andre Renaud
used in a pipe.
2012-02-21Add new kill toy. Used to send signals to a process or a process group.Daniel Walter
2012-02-18Adding insmod and rmmodElie De Brauwer
2012-02-13Adding mknodElie De Brauwer
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