Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bin/muffle: Replace ad-hoc status file logic with statusf(1) | EuAndreh | 9 days | 1 | -5/+4 |
| | |||||
* | bin/muffle: Set $TMPDIR to $XDG_RUNTIME_DIR | EuAndreh | 10 days | 1 | -0/+1 |
| | |||||
* | bin/muffle: Speed up | EuAndreh | 2024-10-12 | 1 | -10/+5 |
| | | | | | | | | | | | | | | | First, use sort -m, as both inputs are already sorted. This both changes from it from O(n*log(n)) to O(n), and allows sort(1) to produce streaming output, instead of sponging all the input, and potentially spilling to disk during the process. Second, use awk(1) when looping. Not only awk(1) is made for this type of job, but also we only call it once and let it do the loop, over looping manually and calling '['(1), printf() and cut(1) on each iteration. Now we call cut(1) only once. It went from being annoying enough to make me pause considering using to being unnoticeable. | ||||
* | bin/muffle: Add -n option | EuAndreh | 2024-01-04 | 1 | -3/+8 |
| | |||||
* | re "s|echo \"\\\$|printf '%s\\\n' \"\$|g" | EuAndreh | 2024-01-04 | 1 | -3/+3 |
| | | | | | | Replace all cases where `echo` was given a variable as its first argument, even on cases where we always know what the variable's content look like. | ||||
* | bin/muffle: Re-interleave STDOUT and STDERR on error | EuAndreh | 2023-09-14 | 1 | -5/+19 |
| | |||||
* | bin/muffle: Add new working utility | EuAndreh | 2023-08-27 | 1 | -0/+79 |