Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-19 | Add string to mode_t parser | Daniel Walter | |
added new function string_to_mode(char *m_string, mode_t base) which parses a given string and converts it to a mode_t. If either + or - are part of m_string the permissions are either added or removed from base. Currently support for permision copy is missing (e.g. g=u), but all other flags should work. Format for m_string: either symbolic modes or octal representation. symbolic modes: [auog][[+-=][rwxst]*] examples: string_to_mode("u=rwx,g=rw,o=r", 0); string_to_mode("a-x", 0777); string_to_mode("0744", 0); | |||
2012-03-19 | Remove "feature test macros", replace non-portable fdprintf() with standard ↵ | Rob Landley | |
fprintf(). | |||
2012-03-16 | The linux header doesn't prototype unshare, and the glibc header introduced ↵ | Rob Landley | |
a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves. | |||
2012-03-15 | Simplify nanosleep call. | Rob Landley | |
2012-03-14 | Implement uniq. | Georgi Chorbadzhiyski | |
2012-03-14 | Default new ch* commands to n until enough is implemented not to break ↵ | Rob Landley | |
aboriginal build. | |||
2012-03-13 | New toys - chmod, chown, and chgrp. | Georgi Chorbadzhiyski | |
2012-03-12 | Extensive semi-gratuitous refactoring: factor out common code, handle ↵ | Rob Landley | |
euid!=uid and egid!=gid cases. (Note: test suite requires root access, possibly container support.) | |||
2012-03-12 | Tighten up the code a bit, and use actual process group id instead of what ↵ | Rob Landley | |
/etc/passwd says. | |||
2012-03-12 | Redo tail to use optargs and optionally support lseek. Add support to ↵ | Rob Landley | |
optargs and llist.c, plus add a test suite entry. Still no -f support though. | |||
2012-03-10 | Fix nanosleep() usage. | Georgi Chorbadzhiyski | |
2012-03-09 | Replace deprecated libc function with its totally renamed equivalent. | Rob Landley | |
2012-03-09 | Work around glibc regression by including Linux header directly. | Rob Landley | |
2012-03-08 | More stabs at getting #includes right, and moving off of deprecated functions. | Rob Landley | |
2012-03-07 | Fix mkdir -p to accept paths that already exist, and detect path ending in a ↵ | Rob Landley | |
file. | |||
2012-03-07 | Consolidate headers. | Rob Landley | |
2012-03-07 | Silence a couple pointless warnings. | Rob Landley | |
2012-03-06 | Cleanups: use perror_msg() and make mode a global. | Rob Landley | |
2012-03-06 | Add mkfifo. | Georgi Chorbadzhiyski | |
2012-03-06 | Comment and whitespace tweaks. | Rob Landley | |
2012-03-05 | mkdir cleanups: Let umask do its thing at the syscall level, have mode be a ↵ | Rob Landley | |
global to prepare for -m, use do_blah name loopfiles() usually calls, one less redundant mkdir() call, go ahead and modify writeable args instead of strdup(), return before restoring / so error message is better, use perror_msg(). | |||
2012-03-05 | Add mkdir. | Georgi Chorbadzhiyski | |
2012-03-05 | Fix xargs -0 option. | Rob Landley | |
2012-03-05 | whoami: fix toy description, no code changes | Pere Orga | |
2012-03-04 | Add clear. | Rob Landley | |
2012-03-04 | Add tac. (Shell wrapper is smaller, but all-in-one static binary is ↵ | Rob Landley | |
compelling use case.) | |||
2012-03-04 | Minor optimization. | Rob Landley | |
2012-03-04 | Add whoami. | Georgi Chorbadzhiyski | |
2012-03-04 | Add longopt, refactor so only one instance of each loop, requre = as part of ↵ | Rob Landley | |
match, update exit code. | |||
2012-03-03 | Implement printenv command. | Georgi Chorbadzhiyski | |
2012-03-03 | Make floating point support depend on TOYBOX_FLOAT, make 0.1m work. | Rob Landley | |
2012-03-03 | Add fraction and extension support to sleep. | Georgi Chorbadzhiyski | |
2012-03-03 | Add -A to ls | Andre Renaud | |
2012-03-02 | This uses floating point. | Rob Landley | |
2012-03-02 | Add copyright notice, fluff out help text, use xexec(). | Rob Landley | |
2012-03-02 | Only show one normal difference (sans -l) and EOF message should go to ↵ | Rob Landley | |
stdout, not stderr. | |||
2012-03-02 | Cleanup pass, and support unrecognized slash chars ala "echo -e \p". | Rob Landley | |
2012-03-01 | Add -n, which kernel build needs. | Rob Landley | |
2012-02-28 | Add "-" type to optargs and teach tail.c to use it. Tighten up help text, ↵ | Rob Landley | |
use xzalloc() and xputc() as appropriate. | |||
2012-02-27 | Upgrade yesno() and make cp -i use it. | Rob Landley | |
2012-02-26 | The aboriginal linux build needs ls -ditc and probably some more ↵ | Rob Landley | |
unimplemented options yet... | |||
2012-02-26 | Teach patch -p that consecutive /// counts as one path component. | Rob Landley | |
2012-02-26 | Teach 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-26 | Factor out common code between killall/kill and move it to lib/lib.c, plus ↵ | Rob Landley | |
cleanups on kill.c. | |||
2012-02-23 | Implemented -i for cp | Bryce Fricke | |
2012-02-23 | Bugfix: use the right USE symbol. | Rob Landley | |
2012-02-23 | Add tail. | Timothy Elliott | |
Disabled by default because the -f option is not implemented. | |||
2012-02-21 | update id to be SUS compliant | Daniel 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-21 | Add 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-21 | Add new kill toy. Used to send signals to a process or a process group. | Daniel Walter | |