Hello Monks,
I am using the diff command to compare 2 output files. The output needs to be identical but im having trouble understanding how to fix it. can u help me?
0a1,4
> For a= 2.000, b= 5.000, c= 1.000: Two solutions for x: -0.219 an
+d -2.281
> For a= 2.000, b= 4.000, c= 2.000: One solution for x: -1.000
> For a= 5.500, b= 8.000, c= 2.200: Two solutions for x: -0.368 an
+d -1.086
> For a= -2.000, b= 5.000, c= -3.000: Two solutions for x: 1.000 an
+d 1.500
2a7
> For a= 5.000, b= 10.000, c= 0.000: Two solutions for x: 0.000 an
+d -2.000
3a9
> ERROR: Input must have 3 coefficients, line read had 2
5d10
< For a= 6.457, b= 7.735, c=100.787: Two solutions for x: 0.000 an
+d -2.000
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|