Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for alice06

Hi all I hav written a very small shell script in bin bash & its not working. The script is :: [CODE]#!/bin/bash i=1.0 while [ $i -le 3.0 ] do i=`expr "$i + 0.5" | bc`; echo "i=$i" done [/CODE] The error is : [CODE]line 6: [: 1.0: integer expression …

Member Avatar for alice06
0
89
Member Avatar for alice06

Hi all 30 students have sent me their answers to me in folders, "[B]name1[/B]", "[B]name2[/B]", ..., "[B]name30[/B]". Each folder contains 2 outputs, "[B]output_a.txt[/B]" and "[B]output_b.txt[/B]" Now I have the correct answer "[B]correct_a.txt[/B]" and "[B]correct_b.txt[/B]" with me. I know that using the command diff, I can compare 2 files :: [CODE]$ …

Member Avatar for masijade
0
70
Member Avatar for alice06

Hi all Please help me out. I plot a file [B]output1.txt[/B] in the following way :: [CODE]gnuplot> plot "output1.txt" using 1:2 with lines, \ plot "output1.txt" using 1:3 with lines[/CODE] [B]BUT [/B] now I have [B]many[/B] data files, [CODE]output1.txt, output2.txt, output3.txt, ....,....... ,output1000.txt[/CODE] I need to [B]plot[/B] each one of …

Member Avatar for alice06
0
3K
Member Avatar for alice06

Hi all I run my program [B]prog.c[/B] in the following way : [CODE]$ ./prog 1 > output.txt [/CODE] where 1 is a user defined initial value used by the program. But now I want to run it for many a thousand initial values, 1-1000, and store all the outputs in …

Member Avatar for shibblez
0
93