12-19-2008
Thanks for the correction
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using the Korn shell script to display lines of the file. For example below:
outputfile=test.dat
-- display each line of the test.dat file
abcd 345
adek 45566
dve3 34565
so on...
I appreciate your time to find a command for displaying lines of the file on the log.
... (2 Replies)
Discussion started by: sbryant
2 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
Can anyone help me with this.
There are two files and I have to match the second file records with that of first and if matched, print the output in two fies, one containing the matched records and other containing the rest.
Here is the example.
File1
"111",erter,"00000", ... (4 Replies)
Discussion started by: er_ashu
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a requirement for taking an particular number in a log file. if i grep for the particular string it will retrieve the entire line for the particular string. but i want to display only the string from each line which i am searching for,
Note: The searching field varies its position... (3 Replies)
Discussion started by: senthilkumar_ak
3 Replies
4. Shell Programming and Scripting
Hi i have 2 csv files a.csv and b.csv with the same number of columns and a list of values in both of it. Each and every individual value in both the files need to compared and if it matches then print correct in a new csv file otherwise print Incorrect
eg
a.csv
1,12/27/2007,Reward,$10.00... (5 Replies)
Discussion started by: naveenn08
5 Replies
5. Shell Programming and Scripting
hi Gurus,
Need to pick your brains on this minor script project.
I would like to continuously monitor a log file with sample log messages as below, and if PSOldGen percentage is either 99% or 100% for consecutively 10 times, alert someone.
{Heap before gc invocations=46516:
PSYoungGen ... (6 Replies)
Discussion started by: kenchen722
6 Replies
6. OS X (Apple)
My UNIX skills amount to "Google,Copy,Paste..." but I managed to get a useful log file generated by an automation system that runs 24/7. The log file exists on an Omneon Media Grid server where I monitor it via "tail -F /..." Unfortunately we have many workstations running Tiger 10.4.8 still and... (2 Replies)
Discussion started by: SolarDarkroom
2 Replies
7. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
8. Shell Programming and Scripting
Hi,
I urgently need some help how to extract distinct entries from a Log file.
The Log File may have same error occuring many times so how do i count the occurance of an error in file and also extract out distinct errors in a file.
Eg:-
I have a file name A.log
it contains entries as below:-... (5 Replies)
Discussion started by: roro
5 Replies
9. Shell Programming and Scripting
Hi,
I have fileA.txt like this.
B01B02 D0011718
B01B03 D0012540
B01B04 D0006145
B01B05 D0004815
B01B06 D0012069
B01B07 D0004064
B01B08 D0011988
B01B09 D0012071
B01B10 D0005596
B01B11 D0011351
B01B12 D0004814
B01C01 D0011804
I want to compare this against another file (fileB.txt)... (3 Replies)
Discussion started by: genehunter
3 Replies
10. Shell Programming and Scripting
Please repost your query: Help needed: script for timely average from log file - Thank you. (0 Replies)
Discussion started by: mkfs
0 Replies
LEARN ABOUT OPENDARWIN
hpftodit
HPFTODIT(1) General Commands Manual HPFTODIT(1)
NAME
hpftodit - create font description files for use with groff -Tlj4
SYNOPSIS
hpftodit [ -sv ] [ -in ] tfm_file map_file font
It is possible to have whitespace between the -i command line option and its parameter.
DESCRIPTION
hpftodit creates a font file for use with groff -Tlj4 from an HP tagged font metric file. tfm_file is the name of the tagged font metric
file for the font. map_file is a file giving the groff names for characters in the font; this file should consist of a sequence of lines
of the form:
n c1 c2 ...
where n is a decimal integer giving the MSL number of the character, and c1, c2,... are the groff names of the character. font is the
name of the groff font file. The groff font file is written to font.
The -s option should be given if the font is special (a font is special if troff should search it whenever a character is not found in the
current font.) If the font is special, it should be listed in the fonts command in the DESC file; if it is not special, there is no need
to list it, since troff can automatically mount it when it's first used.
If the -i option is used, hpftodit will automatically generate an italic correction, a left italic correction and a subscript correction
for each character (the significance of these parameters is explained in groff_font(5)).
OPTIONS
-v Print the version number.
-s The font is special. The effect of this option is to add the special command to the font file.
-in Generate an italic correction for each character so that the character's width plus the character's italic correction is equal to n
design units plus the amount by which the right edge of the character's bounding is to the right of the character's origin. If this
would result in a negative italic correction, use a zero italic correction instead. There are 8782 design units per em for Intelli-
font fonts.
Also generate a subscript correction equal to the product of the tangent of the slant of the font and four fifths of the x-height of
the font. If this would result in a subscript correction greater than the italic correction, use a subscript correction equal to
the italic correction instead.
Also generate a left italic correction for each character equal to n design units plus the amount by which the left edge of the
character's bounding box is to the left of the character's origin. The left italic correction may be negative.
This option is normally needed only with italic (or oblique) fonts.
FILES
/usr/share/groff/1.18.1/font/devlj4/DESC Device description file.
/usr/share/groff/1.18.1/font/devlj4/F Font description file for font F.
BUGS
This program was written without the benefit of complete, official documentation on the tagged font metric format. It is therefore likely
that it will fail to work on tfm files that are dissimilar to those for the internal fonts on the Laserjet 4, with which it was tested:
TrueType tfm files are not supported.
SEE ALSO
groff(1), grolj4(1), groff_font(5)
Groff Version 1.18.1 Apr 2002 HPFTODIT(1)