mounting from list in files?
Hello!
I am writing a script that reads line by line from files, where each line is a device name that is then mounted. Is there a way to read each line of the file using script and then check for end of file? I could do it in C using file handling routines, but it's a fairly simple program that I'd like to keep as a script. Thanks, Murdock |
Code:
exec 3< foobar.txt |
All times are GMT -5. The time now is 12:41 PM. |