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

    SED Insert & Append lines in a script

    None of the sed proposals work, but the echo suggestion does. So, echo it is. PHV, thanks for your help.
  2. gxh1000

    SED Insert & Append lines in a script

    I have a file that I am manipulating in a Unix script. I want to use a sed command to insert text before the 1st line: DATE $TDYSDATE //where $TDYSDATE is a variable set in the script. And I want to append text after the last line: ENDOFFILE This is what...
  3. gxh1000

    Where is the libconnect.so file

    We installed 9.2.0.3. I'm trying to compile my application written in C and it won't compile because Oracle is missing the ~/oracle/network/lib/libconnect.so file that exists in Oracle 8. Does anyone know what happened to the libconnect.so file in Oracle 9?
  4. gxh1000

    Limit awk test to a range of lines

    This works when I escaped the $, such as: /^\$EOF/ Thanks for your help
  5. gxh1000

    Limit awk test to a range of lines

    I can't get either of these solutions to work. $EOF,,,, is my trailer data. Here is what I have: BEGIN {FS=","} $1 !~ mytestcriteria {print $myoutputmssg} $2 !~ mytestcriteria {print $myoutputmssg} $3 !~ mytestcriteria {print $myoutputmssg} $4 !~ mytestcriteria {print $myoutputmssg}...
  6. gxh1000

    Limit awk test to a range of lines

    My input file has a header & trailer line which must remain intact in the file, but I want to exclude these lines from my format test of the data in between. Is there a way to isolate an awk operation to a specific range of lines in an input file? Example input: header line a,b,c,d a,b,c,d...
  7. gxh1000

    Validate record format

    I need to validate that each record contains exactly 5 comma separated fields in my file. ex. a,b,c,d,e If any record doesn't match the format, then fail. Thanks for your help.
  8. gxh1000

    Excel format Worksheet macro

    Eric - I'm using Excel 97. I tried the save but that didn't work. Thanks. Skip - The data and the $EOF marker are manually entered to the worksheet. Then the marco is run to format the worksheet and FTP the file to my unix server. Are you saying to manually add the $EOF marker after the...
  9. gxh1000

    Excel format Worksheet macro

    I've created a macro that formats an Excel worksheet that can vary in length from 100 rows to 500 rows. The code I'm using (Tek-Tips) dynamically resets the last row, but it fails to include the $EOF marker that my C program requires (see sample data). Does anyone know how this can be changed...
  10. gxh1000

    File Size In NT Explorer

    I'd like to change how NT Explorer displays file size from the standard rounded format, as in 100KB, to the exact file size, as in 100,236 similar to the old windows file manager

Part and Inventory Search

Back
Top