Repository navigation
Replies: 1 comment 1 reply
|
You need to setup the recipe in Shebang mode cmd:
#!/bin/sh
out=$(ls /)
echo "files: " $outor make it a one-liner cmd:
out=$(ls /); echo "files: " $out |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to grab the output of a command like in bash and use it afterwards? This
fails with
sh: 1: out: parameter not setAll reactions