View Single Post
Old Apr 26th, 2005, 1:32 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
#!/bin/sh

# read a file, line by line (this could be an ls generated file)...
while f=`line`
do
$f
done < file.dat

echo "You're turn for effort"
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."

Last edited by Infinite Recursion; Apr 26th, 2005 at 1:34 PM.
Infinite Recursion is offline   Reply With Quote