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)
Hi,
I'm dealing with an issue and losing a lot of hours figuring out how i would solve this.
I have an input file which looks like this:
('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos')
('BLABLA +200-GRR','Serviço... (6 Replies)
Hi All,
I'm completely new to bash scripting and still learning my way through albeit vey slowly.
I need to know where to insert my server names', my ip address numbers through out the script alas to no avail.
I'm also searching on how to save .sh (bash shell) script properly.... (25 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)
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 V7
pbmtextps
pbmtextps(1) General Commands Manual pbmtextps(1)NAME
pbmtextps - render text into a bitmap via postscript
SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text]
DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image.
The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela-
tive to the origin. You can use pnmcrop to crop it all the way.
OPTIONS -font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post-
script font which is installed on your system.
-fontsize
Size of font in points. See the -resolution option for information on how to interpret this size.
Default is 24 points.
-resolution
Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso-
lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about.
That's what this option does.
In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is
150 dpi, then the font size is 50 pixels.
Default is 150 dpi.
-stroke
Width of line to use for stroke font. There is no default stroke width because the letters are solid by default.
USAGE
See pbmtext for usage examples.
SEE ALSO pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5)AUTHOR
Copyright (C) 2002 by James McCann
02 January 2003 pbmtextps(1)