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,
How can I execute Unix's ksh equivalent of "cut' and "awk" in Windows XP?
For example, I want to execute ksh commands from Windows command prompt. Is there a place I can download "cut.exe" and "awk.exe" ?
Thanks in advance (4 Replies)
Hello,
let's say I have a text file:
word11 word12 word13
word21 word22 word23
word31 word32 word33
and I want to put the second field of each line into a list:
set list = `cut -d" " -f2 ${1}`
and I use space (" ") as a delimiter, only that there's a catch:
there can be more than... (12 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)
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 DEBIAN
datas
datas(3U) InterViews Reference Manual datas(3U)NAME
ColorData, GSData, MobilityData, MoveData, VoidData - Data subclasses for storing common undo information
SYNOPSIS
#include <Unidraw/Commands/datas.h>
DESCRIPTION
The Unidraw library predefines several Data subclasses for storing common undo information: ColorData stores two PSColors (usually repre-
senting foreground and background colors), while GSData stores a complete set of graphics state in a FullGraphic object. MobilityData
stores the mobility and graphics state information needed to undo a change in mobility. MoveData stores a horizontal and vertical distance.
VoidData stores a void pointer as a useful alternative to deriving trivially from Data just to store one word of information.
COLORDATA PUBLIC OPERATIONS
ColorData(PSColor*, PSColor*)
Create a ColorData instance, supplying the PSColor objects it stores.
GSDATA PUBLIC OPERATIONS
GSData(Graphic*)
Create a GSData instance, supplying the Graphic object from which to copy a complete set of graphics state. The GSData constructor
copies this information into its _gs member, from whence it can be retrieved later.
MOBILITYDATA PUBLIC OPERATIONS
MobilityData(Mobility, Graphic*)
Create a MobilityData instance, supplying the mobility and a Graphic object from which to copy a complete set of graphics state.
The MobilityData constructor copies the graphic into its _gs member, from whence it can be retrieved later.
MOVEDATA PUBLIC OPERATIONS
MoveData(float, float)
Create a MoveData instance, supplying two floating point numbers that normally represent horizontal and vertical movement.
VOIDDATA PUBLIC OPERATIONS
VoidData(void*)
Create a VoidData instance, supplying a pointer to an object of unknown type.
SEE ALSO Data(3U), Graphic(3U), globals(3U)Unidraw 24 January 1991 datas(3U)