aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2008-12-08Fix netcat -fRob Landley
2008-11-30Fix typo.Rob Landley
2008-11-27Add unameRob Landley
2008-11-18The epoch can also show up as 1970-01-01 (depending on timezone), so treat ↵Rob Landley
any year >0 and <= 1970 as meaning "file does not exist".
2008-11-18More than 4k of input can be queued up in a pipe, so loop needs to continue ↵Rob Landley
reading until POLLIN is exhausted before acknowledging POLLHUP.
2008-11-16Shell $(netcat) won't return unless child's stdin/stdout/stderr are closed.Rob Landley
2008-11-16Second attempt at making netcat -l work properly.Rob Landley
2008-11-15Add netcat server mode, -l, -L, and -t.Rob Landley
2008-10-24Tighten up chvt, save a few bytes.Rob Landley
2008-10-23Upgrade patch to detect hunks that start after a false start.Rob Landley
Imagine a hunk that starts with a blank line, but the site to patch starts with two blank lines. Before we'd read the first blank line, think it was the start of the hunk and buffer it, read the second blank line, notice that it didn't match the second line of the hunk, and discard _both_ buffered lines of context (writing them to the output file) without checking that one of the later context lines might have been the real start of the hunk. Make it re-check the rest of the buffered context for matches each time it discards a line of buffered context.
2008-08-28Fix giant glaring thinko.Rob Landley
2008-08-15An error from an input file isn't fatal, keep reading remaining input files.Rob Landley
2008-08-15Chroot should stop option parsing at the first non-option argument.Rob Landley
2008-07-03Add "tee" command.Rob Landley
2008-07-03Finish bzcat.Rob Landley
2008-06-26Option parsing: stopearly is now a ^ prefix (not +), and an option string withRob Landley
no flags auto-enables stopearly (so seq doesn't have to specify it to avoid having negative number arguments eaten by the option parsing logic).
2008-06-22Only apply global flags to fallback sort.Rob Landley
2008-06-18Most of an susv3 compliant sort implementation (loosely based on the one I ↵Rob Landley
wrote back in 2005). Still a few bugs. Needs a _biiiiig_ test suite...
2008-05-17Add seq, and tests for it.Rob Landley
2008-05-17Fix which (the meaning of -a was reversed, and it was finding the _last_ hit).Rob Landley
2008-05-17Fix command line option parsing so "echo -xen" actually prints "-xen". AddRob Landley
echo.test while I'm at it.
2008-05-12Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.Rob Landley
(Yeah, I know sysfs hasn't actually got an API, but I like to pretend...)
2008-05-04Add rmdir and test for it.Rob Landley
2008-04-09We don't open a destination filehandle for symlinks, so xclose() would barf.Rob Landley
2008-04-09Add -v to cp.Rob Landley
2008-04-09Thinko in cat.Rob Landley
2008-04-08Teach patch that a file dated 1969-12-31 means doesn't exist, and to failRob Landley
if a create isn't exclusive.
2008-04-04Spent the five minutes to implement "cat".Rob Landley
2008-03-26Another cp -r fix, another test case...Rob Landley
2008-03-25Update cp -r to work better, add relevant tests to test suite.Rob Landley
2008-03-24Fix -r logic, it needs both source and dest paths explicitly stated.Rob Landley
2008-02-24Make cp pass the rest of its test suite. Needs a bigger test suite (-lsHPLiRob Landley
and maybe -xviu), most of which still need to be implemented.
2008-02-21Make cp pass most of its test suite. Still need to add symlink support.Rob Landley
2008-02-20Add first pass at cp, totally untested, unlikely to work yet. :)Rob Landley
2008-02-12Add TOYFLAG_UMASK.Rob Landley
2008-02-12Fix up (admittedly stubby) mdev so it's actually hooked up to the build.Rob Landley
2008-01-25Fix copyright nameCharlie Shepherd
2008-01-27Have chvt print an error message (and exit with error) when it fails.Rob Landley
2008-01-26Comment and whitespace cleanups by Charlie Shepherd (code's the same).Rob Landley
2008-01-20Fluff out hello.c to supply more example code as a skeleton for new commands,Rob Landley
and update a chunk of code.html (much more to do there).
2008-01-20Move dlist_add() to lib/llist.cRob Landley
2008-01-20Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()Rob Landley
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion.
2008-01-19Minor cleanup: move mke2fs options into mke2fs.c.Rob Landley
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
2008-01-10Move some generated files into the "generated" subdirectory.Rob Landley
2008-01-10Very early stub of sed, does nothing yet.Rob Landley
2008-01-06Add chvt from David Anders.Rob Landley
2008-01-05A bit more documentation on Patch.Rob Landley
2008-01-05Update help text a bit.Rob Landley