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
After Acronis restore of Windows Server 2003 Domain Controller to new box, Exchange server cannot see Domain Controller
remove security to ms access database
event id 5774
Moving Record Between Tables
perl encryption
mysql returning question mark squares instead of special characters
IIS Service Unavailable and W3SVC-WP 2274 event log error
Read parameters from URL
blue screen and restarts at windows xp splash screen
autoincrement field problem