I have a string in my configuration file say something like
FirstParam|MyFile`date +"%Y%m%d"`.xml
My Script reads this line and splits values by pipe (e.g. "|") I want to convert second part i.e. MyFile`date +"%Y%m%d"`.xml to MyFile20141215.xml and pass it to another method. What is the best possible way for achieving this?
Thanks in advance.