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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by eholdo

  1. eholdo

    Excel 2003 - Need to summarize items selected on first sheet

    The problem is there will be multiple (up to 6) sheets which contain product options for different overall products. So I'd like to roll them all up into a single sheet. Using a button to perform the rollup to the master sheet would be fine, I'm not necessarily looking for it to be in the...
  2. eholdo

    Excel 2003 - Need to summarize items selected on first sheet

    I have created a price list for a certain product, with the product description, part number and price listed on each line. There is also a column on each line for quantity. I want to take any line where they have entered a quantity, and copy that line to a master "cover page" as a summary of...
  3. eholdo

    Search for byte position of a string within a file

    need to find a way to return the byte position of a string within a file. csh method is needed. Thanks!
  4. eholdo

    Need to read first 2000 bytes of a file and search/replace

    I think I got by this by dd on the first 8 blocks and count =1 files=1 which gives me the first 8 blocks, which are straight text. Soooo, now I just need to figure out how to find the byte position of a character "%" in a file. Any help is greatly appreciated!!
  5. eholdo

    Need to read first 2000 bytes of a file and search/replace

    Ok....why am I in trouble if it's a Binary pdf? Thanks
  6. eholdo

    Need to read first 2000 bytes of a file and search/replace

    The rest of the rather intricate script is in csh. As for so far, this is a new requirement, so I have an input filename and an output filename.... just need the rough direction as to which way to go, ie- sed, etc Thanks!
  7. eholdo

    Need to read first 2000 bytes of a file and search/replace

    Hello, using csh I need to read in the first 2000 bytes of a file, look for the expression (not including quotes) "%PDF" and split the file before into one file, and the string plus what follows into a separate file, then replace the first 2000 bytes of the original file with the second file...
  8. eholdo

    Infoprint 70 Documents

    This is actually a Hitachi engine. Look for parts for the DDP70
  9. eholdo

    Need to find byte position in a text file of a string

    Thanks everyone for the help. I found a solution. It happens the construction of the file includes certain tagged text in each line I want to remove. Simply fgrep -v on the string, a couple of times (to get all lines), and I'm left with what I need.... I really appreciate everyone's help, as...
  10. eholdo

    Need to find byte position in a text file of a string

    <xml version=?><xpif><xpif-v2000.dtd&quot;></xpif>%PDF-1.4 %âãÏÓ 1 0 obj << /Type /Catalog /Pages 2 0 R /PageMode /UseNone /ViewerPreferences << /FitWindow true /PageLayout /SinglePage /NonFullScreenPageMode /UseNone >> /Outlines 71 0 R /Metadata 232 3 R /AcroForm 265 1 R >> endobj 2 0...
  11. eholdo

    Need to find byte position in a text file of a string

    I need to determine the byte position of the start point of a string for a csh script. I'm going to use dd skip=NNN bs=1 if=huge-file of=not-so-huge-file to take a very large file and skip NNN blocks with a single byte size, so I am just writing out the second half of a very large file. Any...
  12. eholdo

    csplit losing part of remaining file

    Thanks everyone for the help!
  13. eholdo

    csplit losing part of remaining file

    I found why it's dumping the file. There is a NULL character (\000) in the file, and at that point, to some point further in the file, it's just getting wiped out. There's only one NULL, but I can't remove it, because if corrupts the second part of the file.... ...so, is there a method of...
  14. eholdo

    csplit losing part of remaining file

    I'm trying to use csplit on a 2 MB file. The split occurs correctly, but the second file created only created 650K or so rather than the 2MB or so it should be. Help!! All I'm trying to do is spli out a certain number of lines at the header of the file, based on the existence of a string...
  15. eholdo

    Need to parse XML file with no newline char. Want to add newline

    Still don't know why it's not working, but I used: cat filename | tr &quot;>&quot; &quot;\n&quot; > newfilename and that worked. Thanks for the effort. I think it may be my version of sed.

Part and Inventory Search

Back
Top