, "Test1.txt") ; if the file could be read, we continue... , "Test2.txt") ) = ; loop as long the 'end of file' isn't reached Astring$=ReadString() A$=StringField(Astring$,,",") B$=StringField(Astring$,,",") WriteStr…
1.使用read命令读取一行数据 while read myline do echo "LINE:"$myline done < datafile.txt 2.使用read命令读取一行数据 cat datafile.txt | while read myline do echo "LINE:"$myline done 3.#读取一行数据 cat datafile.txt | while myline=$(line) do echo "LINE:&qu…