Hi,
How can I "create" a string filename fo a file by concatenating to a first sub-string the string read as the first line of a file?
e.g.
file './servers' which contains the lines:
dilos
kos
milos
and want to create filename:
mgen_dilos for example
I need to do this in a loop (for each line of file servers,create the respective filename)
Anyone willing to help?
How can I "create" a string filename fo a file by concatenating to a first sub-string the string read as the first line of a file?
e.g.
file './servers' which contains the lines:
dilos
kos
milos
and want to create filename:
mgen_dilos for example
I need to do this in a loop (for each line of file servers,create the respective filename)
Anyone willing to help?