Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-17 | cmp: add --quiet and --silent synonyms for -s. | Elliott Hughes | |
I actually only need --quiet to build AOSP, but it seems weird to add --quiet as a synonym for -s but _not_ add the more obviously related --silent. | |||
2018-11-17 | dirname: support multiple arguments. | Elliott Hughes | |
2018-11-17 | Volodymyr Medvid reported that install -d doesn't honor -o or -g. | Rob Landley | |
2018-11-13 | basename: -s SUFFIX. | Elliott Hughes | |
AOSP doesn't need -a specifically, but since it's needed for -s we may as well accept it too. | |||
2018-11-13 | touch: ignore -f like everyone else. | Elliott Hughes | |
I assume it's actually meaningful on BSD/macOS and makes them behave like us, but I don't have access to a Mac to test that theory. | |||
2018-11-13 | mkdir: accept both --parent and --parents as synonyms for -p. | Elliott Hughes | |
Both occur in AOSP. (Until I looked, I had no idea there were _two_ long versions of -p...) | |||
2018-11-02 | Convert more option vars to the new (single letter) coding style. | Rob Landley | |
2018-11-02 | Trivial cleanup of uniq.c. | Rob Landley | |
2018-10-30 | getconf: add -a, fix the LFS_ output, and blame bionic rather than musl for ↵ | Elliott Hughes | |
UIO_MAXIOV/_SC_UIO_MAXIOV. | |||
2018-10-27 | Zach Van Rijn asked for "find -empty". | Rob Landley | |
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-21 | Move start_redraw() to lib/ and have ps.c (top) use it. | Rob Landley | |
2018-10-20 | Some more --help consistency. | Elliott Hughes | |
From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t" | |||
2018-10-07 | Fix getconf build for musl. | Rob Landley | |
2018-10-06 | getconf: add missing names used by AOSP. | Rob Landley | |
2018-10-06 | Say undefined for sysconf/pathconf -1, remove goto, help text tweak, | Rob Landley | |
remove curly brackets around single line if(). | |||
2018-10-06 | date: fix some tests. | Elliott Hughes | |
`errno` isn't meaningful here. | |||
2018-10-05 | getconf: add pathconf(3) variables. | Elliott Hughes | |
Also improve the -l output to include sections (because you need to know whether you're dealing with a pathconf variable to supply the required path). | |||
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). | |||
2018-09-16 | file: remove %s with no corresponding argument. | Rob Landley | |
I've had added the argument, but I don't know what it wants? Ubuntu's file calls a bmp file "data". | |||
2018-09-15 | Add .bmp supoprt to file(1). | Elliott Hughes | |
2018-09-15 | Add .wav support to file(1). | Elliott Hughes | |
2018-08-31 | Convert option style. | Rob Landley | |
2018-08-26 | Add binary file detection to grep. | Rob Landley | |
2018-08-26 | Convert more commands to the new option/GLOBALS code style. | Rob Landley | |
2018-08-26 | Remove ls sub-option: always support --color. | Rob Landley | |
(Well, when you say --color or "alias ls='ls --color=auto'" in your shell.) | |||
2018-08-25 | Convert more argument variables in GLOBALS() to new style. | Rob Landley | |
2018-08-25 | Coding style change: 1) Use argument letter for variable names filled out by | Rob Landley | |
that argument (so "t:" fills out TT.t), 2) go ahead and collate arguments of same type on same line. (Order's guaranteed by C99 either way.) | |||
2018-08-19 | Comment tweak. | Rob Landley | |
2018-08-17 | Make microcom use set_terminal() and move speed setting into set_terminal(). | Rob Landley | |
2018-08-04 | wc: fix the column width heuristics even further. | Elliott Hughes | |
This was found by https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh which broke after the recent change. Plus this actually fixes another of our existing test failures on the host. I'm assuming we don't want to try the "exact fit" heuristics until we have a concrete need for them. (I haven't fully understood the circumstances under which they're used, though the two remaining host test failures appear to be because of them.) Bug: http://b/111891791 Test: ran tests | |||
2018-08-04 | file: slightly improve .class, add .dex. | Elliott Hughes | |
2018-07-28 | Check for integer overflow in pathologically broken elf files by moving the | Rob Landley | |
sh_size>file length test inside the loop and changing the vars to unsigned. | |||
2018-07-18 | ps.c cleanups after help text reshuffle. | Rob Landley | |
2018-07-18 | Factor out "ps -o help" to show fields, move help text into -o type array, | Rob Landley | |
add comments to get_ps(). | |||
2018-07-09 | Fix wc column widths. | Elliott Hughes | |
2018-06-14 | Fix cut -DF as awk replacement by not matching delimiterless lines with -D | Rob Landley | |
2018-06-14 | Change do_lines() semantics to end with a callback(0,0) to indicate EOF, | Rob Landley | |
adjusting existing users. | |||
2018-06-12 | top: remove flicker in interactive mode. | Elliott Hughes | |
2018-06-12 | top: running processes are shown in bold. | Elliott Hughes | |
2018-06-02 | Convert more ps help text to two columns. | Rob Landley | |
2018-05-27 | Teach "file -" to recognize ELF files, add bounds checking and comments. | Rob Landley | |
2018-05-06 | Support fractional seconds (and other time units) in `top -d`. | Elliott Hughes | |
LTP uses `top -d 0.1`, which isn't convincingly useful, but general support for other time units might be useful, and switching to xparsetime addresses both at once. Also fix 3169d948c049664bcf7216d4c4ae751881099d3e where I mistakenly treated `rev` and `toys.optflags&FLAG_b` as interchangeable. (Without this second fix, `top -b` looks fine but `top` is broken!) Also fix xparsetime to reject input such as "monkey" or "1monkey". | |||
2018-04-23 | Don't include spurious '\r's in `top -b` output. | Elliott Hughes | |
2018-04-18 | Add the flags linux kernel build checks for. | Rob Landley | |
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-12 | Fix "cp -p" doesn't preserve timestamps bug | Minghui Liu | |
2018-04-08 | Add cp --parents | Rob Landley | |
2018-04-08 | Add mkpath() for common case of mkpathat(), and #define magic constants. | Rob Landley | |
2018-03-19 | Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing | Rob Landley | |
wouldn't let him assign a negative default value, so I fixed it. |