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
offline server ,active director
How to re-write code using strings to Delphi 2010
Windows 7 roaming profiles
Trusted Location Error Message "2001"
ASP.NET Error: The page was not displayed because the request entity is too large.
Icons and Start menu disappeared from desktop, running Windows 7 Home Edition on a Dell
SID History/re-ACL'ing when moving to new AD forest
Enable overcommitment in Xenserver 5.6
Sudden Laptop screen failure
Office Language Settings on Remote Desktop Server 2008 R2