Hi,
I need to write a generic installation script. So for example we would run a set of sql scripts, so there would be a file with all the scripts to run in and the installation script would then loop through the file and run these using SQL*Plus. Another that is slightly more complex is to move files from the installation directory to other directories. This would also have a file, which the script would loop through but this file would be more complex, with it including the file and the destination directory. There are other things but if someone could give me an example for both of these, I can work the rest out myself.
I'd guess you'd use sed/awk but I could be wrong.
Mike
Start Free Trial