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...
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?
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}...
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...
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.
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.