Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Script 1
Pre-requisites
Create a file with x amount of lines in it, the content of your choice.
Write a script that takes two arguments. The first being a line of text, the second being your newly created file. The script should take the first argument and insert it into the very top (the... (3 Replies)
I've got a configuration file that is filled with xml text statements for example:
<...../>
<...../>
<...../>
<data id="java-options" value="-server -Djava.security.policy..../>
<...../>
<...../>
<...../>
I want to write a korn shell script that will go to this specific line and add a... (2 Replies)
how to print any required line by its line no using awk and its NR variable
for eg:
------------
121343
adfdafd
21213sds
dafadfe432
adf.adf%adf
---------------
requied o/p if give num=3 it print:
21213sds
-------------------------------------- (2 Replies)
Hi,
Please let me know how to find text and print text and its previous line. Please don't get irritated few days back I asked text and next line. I am using HP-UX 11.11
Thanks for your help. (6 Replies)
Hi Unix experts
I have simple text files in which the number of lines vary from one file to another. They look like the following:
#
#
.
.
34 46
76 72
39 68
I want to grab the first number of the last line of each file (let's say A= 39 in the above example), which is... (2 Replies)
Hi,
Can anyone help with a effective solution ?
I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces.
The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
I have several questions about using awk. I'm hoping someone could lend me a hand. (I'm also hoping that my questions make sense.)
I have a file that contains pipe separated data. Each line has similar data but the number of fields and the field position on each line is variable. ... (3 Replies)
Hello,
I am looking for a specific situation in a text file. The conditions are,
> <CompoundName>
InChI=1S/C5H12NO2/c1-5(2)4-8-6(3)7/h5H,4H2,1-3H3/q+1
I am looking for cases where the line "> <CompoundName>" is followed by a line that contains the string "InChI=" without regard to... (5 Replies)
My sample file is variable length, with out any field delimiters. It has min of 18 chars length and the 'CRLF' is potentially between 12-14 chars. How do I replace this with a space? I still want to keep end of record, but just want to remove these new lines chars in the middle of the data.
... (7 Replies)
Discussion started by: chandrath
7 Replies
LEARN ABOUT DEBIAN
sfddiff
SFDDIFF(1) General Commands Manual SFDDIFF(1)NAME
sfddiff - compare two font files
SYNOPSIS
sfddiff [--help] [--ignorehints] [--ignorenames] [--ignoregpos] [--ignoregsub] [--ignorebitmaps] [--exact] [--warn] [--merge outfile]
[--usage] [--version] fontfile1 fontfile2
DESCRIPTION
The program sfddiff compares two font files, which may be in any format fontforge(1) can read. It will notice the following differences:
1) Characters are present in one font but not in the other.
2) Characters are present in both fonts but have different sets of outlines or references. The outlines may be compared so that only
exact matches are accepted, or so that a fuzzier match is used. Similarly references may need to match exactly, or may be matched
after an unlink.
This fuzzy comparison is useful when comparing truetype and postscript fonts, or when comparing a font with references to one with-
out.
3) The postscript hints or truetype instructions are different.
4) The font names (the truetype `name' table) differ.
5) The kerning (and other `gpos' information) differs.
6) The ligatures (and other `gsub' information) differ.
7) Any bitmap strikes present in one font but not in the other.
8) Any bitmap characters present in one strike of one font but in the equivalent strike of the other.
9) Any bitmap characters which differ.
OPTIONS --help Provide a description with a list of the available options.
--ignorehints
Suppress the reporting of hint/instruction differences.
--ignoregpos
Suppress the reporting of kerning (and other `gpos') differences.
--ignoregsub
Suppress the reporting of ligature (and other `gsub') differences.
--ignorenames
Suppress the reporting of name string differences.
--ignorebitmaps
Suppress the reporting of bitmap differences.
--exact
Require outlines to match exactly.
--warn Warn if the outlines/references are slightly different.
--merge outfile
Store a merged version of the two fonts into the specified output file. The merged data will be based on sfdfile1, as well as any
characters present in sfdfile2 but not in sfdfile1 will be added, and the outlines of sfdfile2 will be placed in the background.
Finally, for any characters with different outlines or references the background of the the character will contain the outlines from
sfdfile2 (references will be unlinked into outlines and those outlines also will be added).
--usage
Display the usage description.
--version
Display the current version.
SEE ALSO fontforge(1)
The HTML version of the fontforge manual at:
http://fontforge.sourceforge.net/
AUTHOR
Copyright (C) 2000-2006 by George Williams (gww@silcom.com). Manual page heavily rewritten and modified to use standard -man(5) macros by
R.P.C. Rodgers (rodgers@nlm.nih.gov), 23 October 2002.
8 April 2006 SFDDIFF(1)