Show HN: Tap curl in your editor before it gets to sh
github.com
github.com
cat "$f"; rm "$f"
not involve loading the whole file in memory at once? Note that using this also makes sense with self-extracting archives/shell scripts, because it lets you inspect the shell script at the beginning.https://github.com/robbyrussell/oh-my-zsh/blob/master/plugin...
* type "curl <paste>" in zsh, vim opens with "curl <pasted-url>
* inspect URL, if OK in Normal mode do !!zsh<CR> (I assume emacs can also somehow eval current line in shell and replace line with output)
* inspect the code downloaded (still in vim) and then execute it (or save to file then execute).
http://manpages.ubuntu.com/manpages/xenial/en/man1/vipe.1.ht...
moreutils is great. Unfortunately, moreutils parallel conflicts with GNU parallel :(
I don't have `moreutils` installed; it's plausible that someone might want just the single package, in which case `tap` would seems OK as an alternative.