@adi@twtxt.net Why does this nor work locally? ๐ค
foo:
$ cat foo
foo() { printf "Hello World" }
And:
$ /bin/sh -c '$(cat foo); foo'
/bin/sh: foo(): command not found
/bin/sh: foo: command not found
#5id23qa
@adi@twtxt.net Why does this nor work locally? ๐ค
foo:
$ cat foo
foo() { printf "Hello World" }
And:
$ /bin/sh -c '$(cat foo); foo'
/bin/sh: foo(): command not found
/bin/sh: foo: command not found