[plug] bash script program help

Tomasz Grzegurzko tomasz_g at arach.net.au
Wed Jan 11 08:54:50 WST 2006


Quoting Jon  Miller <jlmiller at mmtnetworks.com.au>:

> I could use some help in creating a program for a task that I need to do.
> I would like to know if there is a function in bash scripting or that can be
> used in a bash script that can determine the size of a file.
> What I need to do is to compare the file size of "A" against file "B", not
> sure if this possible in bash scripting.
> Also in the script cat A >> B doesn't seem to work.
> Need to read in the listing of a text file to get names from it, when finish
> with the various functions read the next name on the list and repeat the
> functions.
> 
> 
> Thanks
> 
> Jon L. Miller,  ASE, CNS, CLS, MCNE, CCNA
> Director/Sr Systems Consultant
> MMT Networks Pty Ltd
> http://www.mmtnetworks.com.au
> Resellers for: Novell Gold Partner, Cisco Partner, Peopletelecom, Westnet,
> Sophos Anti-Virus, 
> 
> "I don't know the key to success, but the key to failure
>  is trying to please everybody." -Bill Cosby
> 



This doesn't sound too difficult (unless I'm overlooking something). Why don't
you send us what you have so far so we can see where things are going awry for
you? =)

Tomasz



More information about the plug mailing list