9 karma · joined Sep 9, 2023 (3y ago) · 9 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
More importantly, I can easily find things by searching with less's `/` hotkey. Relying on the terminal emulator's built-in search isn't great because (a) I'm not used to it - I am more used to vim's keybindings, and the search hotkey `/` is the same in vim, and (b) that's also going to search all the output from before I ran --help (not as big of a gripe, but still somewhat annoying).
comment 3y ago · link · parent
Hard disagree about -e though. I get it's not perfect but it has probably saved me dozens of hours of frustration and heartbreak. If you forget to handle errors for a particular line, then the script will just keep going and that's how you accidentally delete your entire home directory. Sure you can rely on shellcheck but for me personally I don't have shellcheck available 100% of the time as I often find myself writing scripts as raw strings (e.g. ssh -c).
comment 3y ago · link · parent
Also observables are more like streams than arrays.
comment 3y ago · link · parent
comment 3y ago · link · parent