OT: Need some shell scripting hints ;)
nathan r. hruby
yellowdog-general@lists.terrasoftsolutions.com
Wed Oct 1 15:29:01 2003
On Wed, 1 Oct 2003, Alexander Holst wrote:
> for LINE in (every line of TextFile.txt)
> do
> some stuff with $LINE # for every line one iteration
> done
>
#!/bin/bash
line=`cat file`
for i in $line; do
/bin/something --to $i
done
Would do it.
-n
--
-------------------------------------------
nathan hruby <nhruby@uga.edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------