Sample Header Ad - 728x90

1-liner process substitution for ksh

2 votes
1 answer
631 views
I have this command, which works fine for bash: sh <(curl -sSl https://appi.sh/launch) (launches [this interactive script](https://github.com/Appish/appi.sh/blob/master/launch.sh)) I'd like to get this 1-liner working for ksh, too. Currently, it errors with:
syntax error: (' unexpected
Running the script from ksh as sh launch.sh works fine, so I'm hoping there's a way to have a singular 1-liner that will work in both bash/ksh without exponentially increasing the length of the command.
Asked by ljs.dev (2147 rep)
Jun 17, 2020, 05:58 PM
Last activity: Jul 22, 2025, 05:09 PM