I grep a command from a file and I would like to pipe and execute them? Anyone has an idea?
cat README | grep source
gives source myEnv.sh
I grep a command from a file and I would like to pipe and execute them? Anyone has an idea?
cat README | grep source
gives source myEnv.sh
You could surround the command with backticks:
$ `cat README | grep source`