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

  • Users: eholdo
  • Content: Threads
  • Order by date
  1. 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...
  2. 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!
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. eholdo

    Determine if 2 words exist on any line in a text file

    Hello, I can't believe I don't remember how to do this, but I need to determine if 2 words exist on any line in a text file, with an unknown number of characters before, between or after the 2 words on the line. Such as Words to look for are cat and dog The cat looks at the dog and Cat is...
  10. eholdo

    Replacing a string using a wildcard

    Hi Everyone, I need to replace a string using a wildcard. In other words, a nawk or sed routine to do this: string to replace &quot;This is a test&quot; But may occur as &quot;This is not a test&quot; I want to use something like a wildcard, such as: &quot;This is * test&quot; To find and...
  11. eholdo

    Replace instances of a string using a wildcard

    Hi Everyone, I need to replace a string using a wildcard. In other words, a nawk or sed routine to do this: string to replace &quot;This is a test&quot; But may occur as &quot;This is not a test&quot; I want to use something like a wildcard, such as: &quot;This is * test&quot; To find and...
  12. eholdo

    How do you count occurences of a string in a file?

    Tried using grep -c option to find the number of times a string is found in a text file, but this bypasses multiple occurences of the string on the same line. Is there a way of capturing total matches of a string in a text file? Thanks! Erik
  13. eholdo

    QUICK - Need to search for total matches of string in file!

    HELP! I can't figure this out. I just want a total count of a string in a file. Using the grep -c option just gives me the line count, but misses is I have multiple matches on a line. THANKS!!!

Part and Inventory Search

Back
Top