Microsoft
Software
Hardware
Network
Question : loop with the files
Hi i need to put the each line in a file in the loop.
ex:
for i in apple grape lemon
do
----
done
I need to pass the apple grape lemon from file a.txt ,means
cat a.txt
apple
grape
lemon
Please help on this
Answer : loop with the files
for i in `cat a.txt`
do
----
done
Random Solutions
Default Printer Changes using Terminal Server
Roaming profiles and DFS replication
Fields not being read from CSV
SQL query on a financial reporting table
Can't Figure Out How to Turn Off PHP Display Errors
SpellNumber
why can't autocomplete after div is loaded via ajax when autocomplete is in the div box
Windows 7 recently used programs is blank
Select All Columns Count Column Group By Only One Column?
Windows Update Error on Hyper-V guest on a HP Proliant ML370 G6 (NC375i network card)