Use ' getline var < file ' to read input from the file file , and put it in the variable var . As above, file is a string-valued expression that specifies the file from which to ...
www.gnu.org