ReadLines and Substraction

2011-03-15 Thread yetcom
Hello Everyone, I have an issue regarding the bash. I have 2 different files and each of them involves some float point numbers for each lines. I want to subtract each line then put all the results into a file. The first line float number will be subtract with the first line of other file and the

Re: ReadLines and Substraction

2011-03-14 Thread Andres Perera
benign dead code: >>> >>> If you can help me with this, will be very happy for that. Thanks in >>> advance. > > #!/usr/bin/env bash > > set -e > > if [[ $(type -t 'mapfile') != 'builtin' ]]; then > function mapfile > { > while getopts C:c: f > do >

Re: ReadLines and Substraction

2011-03-14 Thread Andres Perera
On Mon, Mar 14, 2011 at 6:38 AM, pk wrote: > yetcom wrote: > >> Hello Everyone, >> >> I have an issue regarding the bash. I have 2 different files and each >> of them involves some float point numbers for each lines. I want to >> subtract each line then put all the results into a file. The first >

Re: ReadLines and Substraction

2011-03-14 Thread pk
yetcom wrote: > Hello Everyone, > > I have an issue regarding the bash. I have 2 different files and each > of them involves some float point numbers for each lines. I want to > subtract each line then put all the results into a file. The first > line float number will be subtract with the first