Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: CG101
  • Order by date
  1. CG101

    Breaking down a long, long line of numbers

    tr ' ' '\n' < file1 => works a treat. Thanks for your time.
  2. CG101

    Breaking down a long, long line of numbers

    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...
  3. CG101

    Breaking down a long, long line of numbers

    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?
  4. CG101

    Breaking down a long, long line of numbers

    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...
  5. CG101

    Call C function from Fortran

    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).
  6. CG101

    Call C function from Fortran

    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...

Part and Inventory Search

Back
Top