▲ | networked 2 days ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can also use vipe from moreutils:
This will open the output of the curl command in your editor and let you review and modify it before passing it on to the shell.
If it seems shady, clear the text.vet looks safer. (Edit: It has the diff feature and defaults to not running the script. However, it also doesn't display a new script for review by default.) The advantage of vipe is that you probably have moreutils available in your system's package repositories or already installed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | TZubiri 2 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Huh Why not just use the tools separately instead of bringing a third tool for this. Curl -o script.sh Cat script.sh Bash script.sh What a concept | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|