Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-05 | find.c: Posix wants loop detection. | Rob Landley | |
2014-08-05 | Building busybox from source needs find -not (a synonym for posix's "!"). | Rob Landley | |
2014-08-05 | Fix a couple patch bugs concerning error output. | Rob Landley | |
2014-08-04 | find.c: add -mindepth, -maxdepth, and document -newer and -depth. | Rob Landley | |
2014-08-03 | Implement exec -user, -group, and -newer. Enable find in defconfig. | Rob Landley | |
2014-08-02 | Missed checking in dirtree_recurse() change (now needs specific ↵ | Rob Landley | |
DIRTREE_SYMFOLLOW value, not just true/false). | |||
2014-08-02 | Cosmetic tweak, slightly more conventional for loop. | Rob Landley | |
2014-08-02 | Unbreak find -exec. | Rob Landley | |
2014-07-30 | find.c: fix -iname. | Rob Landley | |
2014-07-29 | find.c: first pass at case case insensitivity and exec. (Needs more debugging.) | Rob Landley | |
2014-07-26 | Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ↵ | Rob Landley | |
open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle. | |||
2014-07-20 | Don't go into an endless loop if we hit a bad utf8 sequence without -q. | Rob Landley | |
2014-07-20 | Add utf8 support to ls -C. | Rob Landley | |
Use wcwidth() instead of strlen(), and extend the -q substitution to also whiteout nonprintable characters that are nonparseable utf8 snippets. | |||
2014-07-18 | Find bugfixes. | Rob Landley | |
The check for -print vs -print0 was tested before I optimized out the "-" in the strcmps, and I didn't adjust the offset or retest it. (Ooops.) Also, I wasn't clearing the ! value when descending into parentheticals, so "find . -name blah -o \! \( -stuff -o -thing \)" acted like it had a spurious second ! before -stuff inside the parentheses. | |||
2014-07-16 | Write a new find. Not quite done, but the basics work. | Rob Landley | |
2014-07-14 | Implement -HL for cp. | Rob Landley | |
2014-07-06 | Promote killall5 by merging it into kill. | Rob Landley | |
Slight conflict here: this puts killall5 in the posix directory. But the commands sharing code trumps that. | |||
2014-07-03 | date -r wasn't saving the result in the right variable. (And make date -ur ↵ | Rob Landley | |
work.) | |||
2014-07-03 | Fix rm -rf of chmod 000 directories. | Rob Landley | |
2014-06-28 | Use dlist_terminate() in patch. | Rob Landley | |
2014-06-28 | Add : as an alias for true (toysh needs this). | Rob Landley | |
2014-06-11 | Option parsing for nohup needs to stop at first nonoption argument. Minor ↵ | Rob Landley | |
cleanups. | |||
2014-06-11 | Promote strings. | Rob Landley | |
2014-06-09 | When locale is enabled, sprintf("%.123s", str) is counting characters, not ↵ | Rob Landley | |
bytes, so we can't globally enable locale without opening stack/heap smashing vulnerabilities. Make commands individually request setlocale() using TOYFLAGS instead. | |||
2014-06-02 | Help text should have a blank line after usage: lines, and a couple other ↵ | Rob Landley | |
whitespace tweaks. | |||
2014-06-01 | cpio: archive more files | Isaac Dunham | |
While writing tests for cpio, I found that cpio tries to open empty files if they're regular files, and fails to archive them if unreadable. This can be easily avoided, and is not the usual behavior. | |||
2014-05-31 | Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵ | Rob Landley | |
WIFEXITED() and WTERMSIG()+127. | |||
2014-05-29 | Switch mtab_list to doubly linked so we can traverse in either order. ↵ | Rob Landley | |
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction. | |||
2014-05-25 | logname and whoami are the same as id -un, so merge them. | Isaac Dunham | |
Since the starting letters are greater than those for 'id' or 'groups', we cn just check if the first letter is greater than 'i'. | |||
2014-05-24 | Remove debug detritus I didn't mean to to check in, and treat an "this ↵ | Rob Landley | |
variable can never actually be used uninitialized but gcc's warning generator can't tell and fails spamwards" warning. | |||
2014-05-22 | date: add -ds, document +FORMAT escapes. | Rob Landley | |
2014-05-06 | Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make ↵ | Rob Landley | |
du use it, move it from lib/pending.c to lib.c. | |||
2014-04-29 | Teach cpio to set uid/gid and timestamp. (Timestamp has year 2100 problem.) | Rob Landley | |
Note that directory timestamps are still sometimes wrong because creating things in a directory can update the timestamp. Also, cp -r has logic to ensure we can write to a directory that doesn't have write permission, cpio does not. This is fixable, but not what existing cpio does. | |||
2014-04-25 | Fix od bug reported by Samuel Holland ("od -v -b" was appending default ↵ | Rob Landley | |
output type even though an output type was specified). | |||
2014-04-16 | Revert lots of half-finished local debris I didn't mean to check in with ↵ | Rob Landley | |
Isaac's roadmap update. Mercurial's "import" command is still broken, committing local tree changes to files that weren't even touched by the patch because the hg developers inisist, when I point out how stupid it is, that they meant to do that. (hg record can do hunks, but import can't even track _files_.) | |||
2014-04-12 | roadmap: describe glibc commands. | Isaac Dunham | |
Some glibc commands are irrelevant because they're for functionality that is excluded from musl (mtrace, rpc*, localedef, iconvconfig, nscd). getconf and catchsegv look like candidates for the development toolchain; locale and iconv were already triaged. getent is pretty lame, but it and the timezone stuff (tzselect zic zdump) are the only new possibly interesting commands. | |||
2014-04-10 | Fix date setting, and fluff out help text a bit. | Rob Landley | |
2014-03-29 | Group headers by standard (POSIX or LSB) or function (internationalization, ↵ | Rob Landley | |
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. | |||
2014-03-27 | Fix cpio -it: don't close(fd) unless we opened it. | Isaac Dunham | |
2014-03-26 | More cpio bugfixes from Isaac Dunham. | Rob Landley | |
Fix FLAG_o to actually be 1 like the comment says, don't try to strlen(name) before reading it, pad TRAILER!!! entry correctly. | |||
2014-03-25 | Promote cpio out of pending. | Rob Landley | |
After some waffling I put it in "posix", even though it was last specified in susv2 (where it was the obsolete 6 byte header entries predating susv4). LSB specifies it, including the 8 byte header fields, but for the actual command it just references SUSv2. (LSB isn't so much a standard as Red Hat's "notes to self".) | |||
2014-03-16 | Clarify an unclear comment pointed out by Steve Long. | Rob Landley | |
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-03-11 | Factor out mkpathat. | Rob Landley | |
2014-02-22 | Add -H option to cksum (hex output), fix to use FLAG macros. | Rob Landley | |
2014-02-04 | Tweak help text. | Rob Landley | |
2014-01-29 | More elaborate help text collating logic. | Rob Landley | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-12-29 | Add -zZ support to grep (NUL delimited input/output). | Rob Landley | |
2013-12-27 | Pass through all the readfile() arguments from xreadfile(). | Rob Landley | |