I want to be able to do this:
curl http://artifactory.mycompany/repo/my-pixi-pack.sh | bash
This doesn't work as-is because the self-extracting file uses grep and sed to read lines between two markers in the file to mark where the archive is and pixi pack is.
A workaround could be to use cat to read all of the remaining script from stdin, write that to a temp file, then act on them.
I want to be able to do this:
This doesn't work as-is because the self-extracting file uses grep and sed to read lines between two markers in the file to mark where the archive is and pixi pack is.
A workaround could be to use
catto read all of the remaining script from stdin, write that to a temp file, then act on them.