Building a shell one-liner means rerunning it many times while adjusting the later commands. If the first command is slow, every rerun waits for it again. bkt caches a command's output for a set time:
bkt --ttl=1m -- find ~ -name '*.log' 2>/dev/null | grep LibraryThe first run does the search and stores the output. For the next minute, the same command returns the stored output immediately, so the grep can change between runs without waiting on find.