[plug] function error

Mr E_T troll at arach.net.au
Wed Jan 11 22:46:28 WST 2006


On Wednesday 11 January 2006 22:50, Jon Miller wrote:
> No I want to be able to read in a file (which has over a 100 names in it, each on a separate line) do a series of commands against each name. So I thought if I can get the command to read in a line do the commands and when finished read I the next and perform the same commands until it reaches the end of the file.
> 
> JLM
First of all to use a variable outside of the function it must be globally defined.
Second do the processing within the loop
Thirdly, have you done any bash scripting before ??

-- 
regs MR E_T
_______________________
\                      \
  \   OOHH I hate TYPOS  \
    \                      \
      ~~~~~~~~~~~~~~~~~~~~~~~



More information about the plug mailing list