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 TouchToneTommy 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. 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.
  16. eholdo

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

    Thanks Steve, I've been trying this, but for some reason, the \n is not being interpreted and it's just replacing the > with >n Any thoughts. I'm on Solaris 2.6 Thanks again.
  17. eholdo

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

    Using c-shell, I need to do the following: I have an XML file that has <tag>data</tag><tag2>more data</tag2> etc..... This is all on one long line, or multiple lines if it goes past 1024 characters or so. I need to work with this file to parse these values, and want to break the file up...
  18. eholdo

    Fastest way to display a certain line in a text file

    I've writing a script that searches specific lines within a file and outputs them to a variable. Head | Tail combinations and sed -n ?p combinations all seem to be very slow as you get into a large file (25MB or so). Is there some way, maybe with awk or nawk to quickly send a specific line to...
  19. eholdo

    NIC lost ability to get IP from DHCP - WSAStartup can't load

    Very frustrating problem. I run a network at home with a linksys wi-fi/4 port router and a DSL connection. I had to take the wireless router out for a few days so I installed Bell South's fastaccess DSL software on one of the systems and plugged it straight into the DSL Modem. THat worked fine...
  20. eholdo

    Getting Games to use TCP/IP and IPX/SPX in win 2k pro

    I'm having a similar problem. I get the same WSAStartup error, and my attempt to grab an IP through DHCP is failing. It's giving me a generic 169.x.x.x ip, which WIndows assigns when it can't see the DHCP server. My other systems can get on just fine. If you hear of anything else that may fix...

Part and Inventory Search

Back
Top