01-16-2007
But this wont,
categorize the ouput based on the header as the OP requested for
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a flat file and need to count no of records in the file less the header and the trailer record.
I would appreciate any and all asistance
Thanks
Hadi Lalani (2 Replies)
Discussion started by: guiguy
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
after 9 months of archiving 1000 files,
now, i need to change the order of fields in the header record.
some very large, space padded files.
HEADERCAS05212008D0210DOMEST01(spacepadded to record length 210)
must now be
05212008HEADERCASD0210DOMEST01(spacepadded to record length 210)
... (1 Reply)
Discussion started by: JohnMario
1 Replies
3. Shell Programming and Scripting
A header record is to be inserted in the begining of a flat file without using extra file or new file. It should be inserted into same file. Advace thanks for all help... (7 Replies)
Discussion started by: shreekrishnagd
7 Replies
4. Shell Programming and Scripting
Hi All,
I have got a requirement.
I have a source file, EMPFULL.txt and I need to split the data for every 30 records
and place a Typical Header as below with system and page number too.
2012.01.03 Employee Dept Report 1... (6 Replies)
Discussion started by: srk409
6 Replies
5. Shell Programming and Scripting
I have 2 files
"File 1" is delimited by ";" and "File 2" is delimited by "|".
File 1 below (3 record shown):
Doc1;03/01/2012;New York;6 Main Street;Mr. Smith 1;Mr. Jones
Doc2;03/01/2012;Syracuse;876 Broadway;John Davis;Barbara Lull
Doc3;03/01/2012;Buffalo;779 Old Windy Road;Charles... (2 Replies)
Discussion started by: vestport
2 Replies
6. Shell Programming and Scripting
All,
I currently have a requirement to fetch a Date value from a table. And then insert a Header record into a file along with that date value.
ex:
echo "HDR"" "`date +%Y%j` `date +%Y%m%d`
In the above example I used julian date and standard date using Current Date. But the requirement... (0 Replies)
Discussion started by: cmaroju
0 Replies
7. Shell Programming and Scripting
I'm using a shell script to manipulate a data file. I have a large file with two sets of data samples (tracking memory consumption) taken over a long period of time, so I have many samples. The problem is that all the data is in the same file so that each sample contains two sets of data.... (2 Replies)
Discussion started by: abercrom
2 Replies
8. Shell Programming and Scripting
I have test.xml
<emp><id>101</id><name>AAA</name><date>06/06/14 1811</date></emp>
<Join><id>101</id><city>london</city><date>06/06/14 2011</date></join>
<Join><id>101</id><city>new york</city><date>06/06/14 1811</date></join>
<Join><id>101</id><city>sydney</city><date>06/06/14... (2 Replies)
Discussion started by: vsraju
2 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I have a backup report that unfortunately has some kind of hanging indent thing where the first line contains one column more than the others
I managed to get the output that I wanted using awk, but just wanting to know if there is short way of doing it using the same awk
Below is what... (2 Replies)
Discussion started by: newbie_01
2 Replies
10. Shell Programming and Scripting
Hi Experts,
I have csv file with 30, 40 columns
Pasting just 2 column for problem description.
Need to print error if below combination is not present in file
check for column-1 (DocumentNumber) and filter columns where value in DocumentNumber field is same.
For all such rows, the field... (7 Replies)
Discussion started by: as7951
7 Replies
LEARN ABOUT DEBIAN
log4c_log4c_priority_error
priority.h(3) log4c priority.h(3)
NAME
priority.h -
The priority class provides importance levels with which one can categorize log messages.
SYNOPSIS
#include <log4c/defs.h>
Enumerations
enum log4c_priority_level_t { LOG4C_PRIORITY_FATAL = 000, LOG4C_PRIORITY_ALERT = 100, LOG4C_PRIORITY_CRIT = 200, LOG4C_PRIORITY_ERROR =
300, LOG4C_PRIORITY_WARN = 400, LOG4C_PRIORITY_NOTICE = 500, LOG4C_PRIORITY_INFO = 600, LOG4C_PRIORITY_DEBUG = 700,
LOG4C_PRIORITY_TRACE = 800, LOG4C_PRIORITY_NOTSET = 900, LOG4C_PRIORITY_UNKNOWN = 1000 }
Functions
LOG4C_API const char * log4c_priority_to_string (int a_priority)
LOG4C_API int log4c_priority_to_int (const char *a_priority_name)
Detailed Description
The priority class provides importance levels with which one can categorize log messages.
Enumeration Type Documentation
enum log4c_priority_level_t Predefined Levels of priorities. These correspond to the priority levels used by syslog(3).
Enumerator:
LOG4C_PRIORITY_FATAL
fatal
LOG4C_PRIORITY_ALERT
alert
LOG4C_PRIORITY_CRIT
crit
LOG4C_PRIORITY_ERROR
error
LOG4C_PRIORITY_WARN
warn
LOG4C_PRIORITY_NOTICE
notice
LOG4C_PRIORITY_INFO
info
LOG4C_PRIORITY_DEBUG
debug
LOG4C_PRIORITY_TRACE
trace
LOG4C_PRIORITY_NOTSET
notset
LOG4C_PRIORITY_UNKNOWN
unknown
Function Documentation
LOG4C_API int log4c_priority_to_int (const char *a_priority_name) Parameters:
a_priority_name a priority string name.
Returns:
the given numeric value of the priority.
References LOG4C_PRIORITY_UNKNOWN.
LOG4C_API const char* log4c_priority_to_string (inta_priority) Parameters:
a_priority a numeric value of the priority.
Returns:
the given priority string name.
Author
Generated automatically by Doxygen for log4c from the source code.
Version 1.2.1 Mon May 2 2011 priority.h(3)