Age | Commit message (Collapse) | Author |
|
|
|
s _all_ saved command line arguments in GLOBALS(), not just for the command bein
g dropped.
|
|
as a synonym for -s.
|
|
|
|
|
|
|
|
option for optional arguments only suppliable with =.
|
|
|
|
|
|
|
|
TOYBOX_HELP controlling infrastructure.
|
|
|
|
didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for).
|
|
|
|
|
|
|
|
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
The actual code should be the same afterward, this is just cosmetic refactoring.
|
|
|
|
longer accept NULL as a synonym for free.
|
|
optargs and llist.c, plus add a test suite entry. Still no -f support though.
|
|
use xzalloc() and xputc() as appropriate.
|
|
"kill -stop" and "kill -s top" aren't the same thing. Make kill.c use it, and remove leftover debug printfs.
|
|
bzero case pretty well.
|
|
|
|
|
|
|
|
(as yet) unsupported multi-function option (ala "x*@").
|
|
|
|
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).
|
|
|
|
echo.test while I'm at it.
|
|
|
|
|
|
|
|
|
|
macros in each C file, and making generated/globals.h from that. Rename
"toy" to "this" along the way to avoid toy/toys confusion.
|
|
|
|
tweaks.
|
|
message when called
from get_optflags().
|
|
|
|
|
|
|
|
|
|
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting)
so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for
the third argument. That way, if we feed O_CREAT to xopen() the permission
000 result should be easy to spot.
|
|
|
|
|
|
|
|
|
|
existing applets. Still a bit buggy, but bits of it work.
|