From 60a3f8d82d9eee77660a16cfdab2391e3f84094f Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Fri, 14 Sep 2018 14:26:41 -0700 Subject: [PATCH] Updated SC2091 (markdown) --- SC2091.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SC2091.md b/SC2091.md index 8eea402..eeac724 100644 --- a/SC2091.md +++ b/SC2091.md @@ -37,5 +37,9 @@ The solution is simply to remove the surrounding `$()`. This will execute the co If you really want to execute the output of a command rather than the command itself, you can ignore this message or assign the output to a new variable first: ```sh readonly command_to_execute="$(print_the_command)" -"$command_to_execute" +$command_to_execute ``` + +### Related resources: + +* StackOverflow: [Bash Function -> Command not found](https://stackoverflow.com/questions/18611842/bash-function-command-not-found) \ No newline at end of file