Thanks, but this doesn't overcome the line length problem. It works for short lines, but when I try it on my image with a line length of 4314016 bytes, I get the error:
nawk: input record '1309.000000 1309.000...' too long
input record number 5, file file1
source line number 1
Is the awk/nawk...
Thanks for the swift reply.
Unfortunately I do not seem to have gawk. I am using Solaris 5.8, and have awk and nawk but not gawk.
Any other suggestions?
Hi,
I have an image written in ascii text format, with the data all on one long line. I would like to split this up so that each data value is on a new line.
So, I have:
Header
Header
1.123456 12.123456 123.123456 12.123456 ...etc
And I would like to produce:
Header
Header
1.123456...
Thanks, i've been banging my head against that particular brick wall for a while. Didn't realise before that you could compile without trying to make an executable (ie the cc -c option).
G'day,
I have a program written in fortran 77 (test.f), in which I am trying to call a handful of C subroutines, written in addins.c. I am new to C, Fortran, compiling and programming in general, so I have a number of what may be simplistic questions...
Currently my fortran program just...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.