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: *

  1. ninguno

    buffer limit on pipe command

    i'm trying to chop the headerfile off of a bunch of images. the image data is 524288 bytes, with the headers varying in size (usually around 5k). the simple way to do it would be: tail -c-524288 filename | cat >newfile but, it ends up with a file that's about half as large as I want it to be...
  2. ninguno

    reading until end of file

    Thanks, this is what I was looking for! cheers
  3. ninguno

    reading until end of file

    sorry to ask such an inane question but i've left my fortran book back at home... I'd like to DO i=1,2000 READ(file1) x,y WRITE(file2) blah,x,blah,y IF (EOF) THEN EXIT END IF END DO But I can't figure out how to recognize the end of the file. using IOSTAT shows me 0's all the...

Part and Inventory Search

Back
Top