Linux hosek 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I need to get output as commands, in a bash script, for storing variables.
sed -n '/# Main configuration./,/# Websites./p' webcheck-$category.cfg | sed '1,1d' | sed '$ d'
This command returns these lines:
How can I read/run these output/lines as commands in script? Is storing this output to the file and then read it by
source command only way?
| source at the end of the command, but it reads only from files.
echo at the beginning, but that had no effect.