"The fact that the same thread ("but but but, I think it's cleaner / nicer / not that much of a waste / my privelege to waste processes!") springs up virtually every time the Award is posted is also Ancient Usenet Tradition." -- uuoc
using grep, i have a file emp.lst, and i want all those records
where "S" or "s" (capital or small) is not there
i used this
grep emp.lst
when i use grep emp.lst
i am getting rows with S..but why negate (^) is not working? (3 Replies)
<record>
<set>
<termId>1234</termId>
<termType>First</termType>
</set>
<set>
<termId>5678</termId>
<termType>Second</termType>
</set>
</record>
This is saved in record.xml
Hi
I have this sample XML that i am grepping using a shell program.
The objective of the task is - based... (7 Replies)
The below command is not working
stackmem="$(pmap $1 | grep -i '' | awk '{print $2}'| tr -d ' K')"
I need to grep strictly for ---->
Regards,
Mohtashim (2 Replies)
Hi All
I have a file containing following records:
$HEW_TGT_DB2_USER=hbme_bi2
$prmAttunityUser=ais
$DS_USER=hbme_bi2
$prmStgUser=hbme_bi2
$prmuser=hbme_bi2
$prmStgPass=hbme_bi2
$prmpwd=hbme_bi2
$prmAttunityUser=ais
Say suppose the name of the file is test4.txt
When i fire this... (2 Replies)
i have following pattern in file
s6:s2
s2:s4
s1:s2:s3:s4:s5:s6
s1
.
.
Now i want to find occurence of each record in file like s6:s2 occurs twice {once in first record and both occur in 3 record as well}
so output should be
s6:s2 2
s2:s4 2
s1:s2:s3:s4:s5:s6 :1
s1 : 2
... (7 Replies)
Hi Guys,
I am new to shell scripting. Need help on grep command. I had a file called file.log which contain below statements.
12 Nov 2013 14:12:17,756 INFO security - Userid: raja, Saved File Instance, Name: , Registry:
23 Nov 2013 14:14:11,777 INFO security - Userid: raja, Saved... (7 Replies)
HI,
I have a command to check a license file.
License_print.
In that file you get the headlines and all different licenses.
Now i want to have things extracted from it.
so i do like following:
license_print | grep -iw -e "user" -e "admin"
But i donīt want all lines where user is... (11 Replies)
Hello, I have an input file that looks like so:
LDLR
LDLRAD4
VLDLR
when I grep "LDLR" I get an output of:
LDLR
LDLRAD4
VLDLR
Since all names have "LDLR" included within them, but all I want the output to be is
LDLR
I know it can work if I surround the words with pipes for... (5 Replies)
Hi guys,
Hope someone can help me with this - I'm sure it's fairly simple but it's driving me mad! (forgive the coding - still new on scripting - come from Windows)
I have the following coding for checking whether I want to include a line in a file:-
EXTRACT_Date=$(date --date="${PERIOD}"... (6 Replies)
Discussion started by: NickF
6 Replies
LEARN ABOUT X11R4
xgamma
xgamma(1) General Commands Manual xgamma(1)NAME
xgamma - Alter a monitor's gamma correction through the X server
SYNOPSIS
xgamma [-display display] [-screen screen] [-quiet] [-gamma f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]]
DESCRIPTION
xgamma allows X users to query and alter the gamma correction of a monitor via the X video mode extension (XFree86-VidModeExtension).
If no value for the gamma correction is given via the -gamma or -rgamma/-ggamma/-bgamma options, xgamma prints the current gamma correction
of the display.
OPTIONS -display display
This argument allows you to specify the server to connect to; see X(7).
-screen screen
When multiple displays are configured as a single logical display, this option allows you to select the screen you wish to change.
-quiet Silence the normal output of xgamma
-help Print out the `Usage:' command syntax summary.
-gamma f.f
The gamma correction can either be defined as a single value, or separately for the red, green and blue components. This argument
specifies the gamma correction as a single value.
-rgamma f.f
This argument specifies the red component of the gamma correction.
-ggamma f.f
This argument specifies the green component of the gamma correction.
-bgamma f.f
This argument specifies the blue component of the gamma correction.
ENVIRONMENT
DISPLAY To get default host and display number.
BUGS
This client changes the internal values of the gamma correction for the Xserver. Whether or not these values are respected depends on the
video drivers.
The gamma values are passed to the Xserver with 3 decimal places of accuracy.
SEE ALSO xvidtune(1)AUTHORS
Kaleb S. Keithley, X Consortium.
David Dawes, David Bateman
X Version 11 xgamma 1.0.2 xgamma(1)