Working with Shelby today, he had written an XSLT that created a SQL script, with embedded search and replace statements (he was calculating parent ids on the fly). So, now we have a SQL script that contains commands to run. So, something like this:
sed -e "`grep SED: test.txt | awk -F" " '{print $2}'`" < test.txt | grep -v SED:
And the file modifies itself. This is why Unix will live forever! GUIs be damned, full command line speed ahead…
Popularity: 20%
Comments: (0)