in reply to Re: Running a command from a text file
in thread Running a command from a text file
because brevity sacrifices clarity
Well... One of the most popular reasons to do overcomplicated things like this is to hide your command in bash, thus clarity probably is not the main goal here
Just think before to do what you want to do, that there is always a bigger dog than oneself even if you try to cover your own traces. Read about the special bash variable $0
perl -e 'system("\$0 < mybashscript.sh");'You should better try to traduce your script to perl code instead if you want to call it from perl
|
|---|