Need to delete a text block inside a file, that is marked with a start and an end pattern. Eg
do not delete
not delete
<tag1>
delete everything here
here
and here
and here...
<tag2>
do not delete
do not delete....
Believe sed is able to do this job but don't get it working.
... (1 Reply)
I'm having a couple of issues. I'm trying to edit a nagios config and remove a host definition if a certain "host_name" is found. My thought is I would find host definition block containing the host_name I'm looking for and output the line numbers for the first and last lines. Using set, I will... (9 Replies)
Hello all,
I have a text files that consists of blocks of text. Each block of text represents a set of Cartesian coordinates for a molecule. Each block of text starts with a line that has a only a number, which is equal to the total number of atoms in the molecule. After this number is a line... (15 Replies)
Input:
fstab is a configuration
file that contains information
of all the partitions
and storage devices
in your computer.
The file is located under /etc,
so the full path
to this file is /etc/fstab.
The >>>>> characters would be replaced by some texts.
For example if i run a... (5 Replies)
Hello all,
I have a large output file from which I would like to extract a single block of text.
An example block of text is shown below:
***** EQUILIBRIUM GEOMETRY LOCATED *****
COORDINATES OF ALL ATOMS ARE (ANGS)
ATOM CHARGE X Y Z
... (10 Replies)
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Hi
I am looking for the way to delete the block of data for example
original file
line1
line2
line3
line4
line5
input file
line2
line3
original file should contain
line1
line4
line5 (3 Replies)
Hi,
I have a requirement in which i need to replace text as below -
<stringProp name="Recipe"><AddGroup Name="1001" Path="ServiceAdministration/Controls/1001/ServiceSwitches">
<Param Name="AttributeName" Value="HeaderManipRspIngressRuleSet" Type="String" />
<Param Name="Value"... (0 Replies)
Hei buddies,
Need ur help once again.
I have a file which has bunch of lines which starts from a fixed pattern and ends with another fixed pattern.
I want to make use of these fixed starting and ending patterns to select the bunch, one at a time.
The input file is as follows.
Hi welcome... (12 Replies)
Hello all,
I am working on a script which should parse a large file called input.txt which contains table definitions, index definitions and comments like these ones:
------------------------------------------------
-- DDL Statements for table "CMWSYS"."CMWD_TEC_SUIVI_TRT"... (12 Replies)
Discussion started by: kiki_riki_miki
12 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)