Hi
I need to get the contents of a text file into an executable command.
The text file might read:
iCal-1.5.2
iSync-1.4
iTunes4-4.2
MacOSXUpdate10.3.2-10.3.2
I need the command to read
softwareupdate -i iCal-1.5.2 iSync-1.4 iTunes4-4.2 etc ...
I can do it quite manually but need a script that will execute no matter how many entries are in the text file (there might be 1 or 20). The text of the file would vary each time also (different installs).
Thanks