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
Unable to view SWF with FLV files via IIS
Estimating Ghost Image File size
Disable taking ownership of hosts file
Document Management Encrypted Files
Rollback if trigger crashes
NT backup doesn't work when scheduled
FTPS on IIS6
Redirect mod_rewrite killed my Blog?
Execute command for each record in a mysql table using a Window's batch file
Removing the Printers & Faxes icon in XP Pro uisng group policy