Microsoft
Software
Hardware
Network
Question : Construct a loop to process each line in a file
How can I construct a loop in a bash script which loops over the lines in the file. On each iteration of the loop I want to read the line into some variable.
Answer : Construct a loop to process each line in a file
if the lines do not contain whitespace it's just like:
cat file.txt | while read line; do echo $line; done
Random Solutions
how do i update primary key
Lp command
Sending Special Character(PAGE DOWN) to Net::Telnet
Can't ping new SBS Install
How do I Setup small Network from XP laptop to Vista Desktop for a File Transfer?
G5 Problems...
Email anomaly - two joined together.
How do you clear the transaction logs
SQL Server 2005 ShrinkFile never finishes
timer object in ms access