The entire thing gets simpler with Perl... as you are under control of how variables get used at each step.
At one time I used a perl script to interpret a network configuration file... and made the configuration file executable, using a "#!/etc/network.p" in the configuration file to invoke the Perl script. Much easier than trying to get bash to do it - and it shortened the configuration file. |
Quote:
Anyway thank You for the answer :) |
Quote:
|
do not use eval
http://stackoverflow.com/questions/1...-i-use-instead |
Quote:
Most UNIX like systems do have bash available... but not necessarily provided by the distribution. |
All times are GMT -5. The time now is 02:09 AM. |