Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
5. Post Here to Contact Site Administrators and Moderators
Majority of the questions are pertaining file/string parsing w.r.t
sed
or
awk
It would be nice to have these two as their own sub category under shell-programming-scripting which can avoid lot of duplicate posts. (1 Reply)
Hi Experts,
I have a string with colon delimited, want 2nd colon to be changed to a pipe.
data:
101:8:43:4:72:14:41:69:85:3:137:4:3:0:4:0:9:3:0:3:12:3:
I am trying with sed, but can change only 1 occurance:
echo "101:8:43:4:72:14:41:69:85:3:137:4:3:0:4:0:9:3:0:3:12:3:" | sed 's/:/|/2'... (5 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT CENTOS
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 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)