Hey Grep, Thanx a ton for replying.
Grep, although ur script doesn't give all the numbers -le 6 (or the nuber we specify), but wid a minor modification in ur script, I was able to get my job done perfectly.
Thanx for helping me out, thank u very much.
Regards
Alice
Hi all
I hav written a very small shell script in bin bash & its not working. The script is ::
#!/bin/bash
i=1.0
while [ $i -le 3.0 ]
do
i=`expr "$i + 0.5" | bc`;
echo "i=$i"
done
The error is : line 6: [: 1.0: integer expression expected
I think the use of decimals in the...
Not working
Thanx Coin for replying,
I don't know Perl, so JUST TO CHECK, I tried ur method.
I made a script "script.pl"
#!/usr/bin/perl
perl -e
for ($count = 1; $count <= 1; $count++)
{ chomp; `diff correct_a.txt $_/output_a.txt > score-$_.txt`; }
Now i pasted the 2 files...
Hi all
30 students have sent me their answers to me in folders, "name1", "name2", ..., "name30".
Each folder contains 2 outputs, "output_a.txt" and "output_b.txt"
Now I have the correct answer "correct_a.txt" and "correct_b.txt" with me.
I know that using the command diff, I can compare...
Hi all
I badly need some help...
I plot a file output1.txt in the following way ::
gnuplot> plot "output1.txt" using 1:2 with lines, \
plot "output1.txt" using 1:3 with lines
BUT now I have many data files,
output1.txt, output2.txt, output3.txt, ...,... ,output1000.txt
I need to...