01-29-2009
Excellent and thankyou for correction.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
A, B, C, D, E, F, G
1, 12, 13, 100, 12345, 432, 142324
2, 432, 435, 4543, 543, 5, 436543
324, 5, 543, 4365, 43643, 436543, 436543
how to extract particular column when i need of column of A or B or C i need it to redirect into a new file. (1 Reply)
Discussion started by: cvm
1 Replies
2. Shell Programming and Scripting
Dear All,
I have a file name pointer.unl. It's contains the information below:
O|A|4560333089|PBS|AU1|01/04/2003|30/04/2006|D|IGCD|
O|A|4562222089|PBN|AU1|01/02/2006|31/01/2008|D|04065432|
O|A|3454d00089|PKR|AU1|01/03/2008||R|sdcdc|
I only need to extract first... (11 Replies)
Discussion started by: selamba_warrior
11 Replies
3. Shell Programming and Scripting
Hi all,
I have file like the following. How can i extract the value one by one and pass it to another script using a loop. It would be a great help if someone can help me in this.
001355snap
001356mvpd
001357micr
001358mast
001359lake
001360klaa
Like i have a perl script... (2 Replies)
Discussion started by: Tuxidow
2 Replies
4. Shell Programming and Scripting
Hi All,
Using below command to extract text from a file
grep -E "^.{20}5004" filename.rtf >> 5004This will give all lines with text 5004 starting at position 20.
The file filename.rtf contains several rows (millions). The four characters starting from 20 position is repeating in several... (4 Replies)
Discussion started by: hsehdar
4 Replies
5. Shell Programming and Scripting
Hello,
I have 2 columns (1st column has multiple entries but the corresponding values in the column 2 may be the same or different.) however I want to extract unique values for each entry in column 1 by assigning the max value from column 2
SDF4 -0.211654
SDF4 0.978068
... (1 Reply)
Discussion started by: Diya123
1 Replies
6. Shell Programming and Scripting
Hi all,
My goal is to always get the value at col4 in a file that contains below.
col1 col2 col3 col4 col5
xdf sdee sdff cfdd
ddd rfg fgt grf drft
I have tried the following but for the first entry(xdf sdee sdff cfdd) the 4th column is col5... (7 Replies)
Discussion started by: johnsanty
7 Replies
7. Shell Programming and Scripting
Hi ,
I need to extract data from below mentioned data, having no delimiter and havin no fixed column length.
For example:
Member nbr Ref no date
10000 1000 10202012
200000 2000 11202012
Output:
to update DB with memeber nbr on basis of ref no.
... (6 Replies)
Discussion started by: ns64110
6 Replies
8. UNIX for Dummies Questions & Answers
I have a file which extracts data from an HTML file
For Eg HTML file contains:
New York;ABC;145;Yes;YES;No
New York;BCD;113;Yes;YES;No
New York;NAS;63;Yes;YES;No
------------------------
London-48;CBT;16;Yes;YES;No
London-48;CME;17;Yes;YES;No
London-48;EUR;52;Yes;YES;No... (3 Replies)
Discussion started by: newkid.7955
3 Replies
9. Shell Programming and Scripting
I have a lot of file with a lot of lines following the same pattern
the lines go like this:
alpha_9/output- -413.74928476 2.6116
and I want it to be:
9 -413.74928476 2.6116
thanks for the help (5 Replies)
Discussion started by: galboski
5 Replies
10. Shell Programming and Scripting
hi i have sample data
a,b,c,d,e,g h http://mysite.xyx
z,b,d,f,e,s t http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
output expected is
a,b,c,d,e,http://mysite.xyx
z,b,d,f,e,http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
i can get only links using grep -o 'http.*'
i... (8 Replies)
Discussion started by: zozoo
8 Replies
LEARN ABOUT CENTOS
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).
Note that the xgamma utility is obsolete and deficient, xrandr should be used with drivers that support the XRandr extension.
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), xrandr(1)
AUTHORS
Kaleb S. Keithley, X Consortium.
David Dawes, David Bateman
X Version 11 xgamma 1.0.5 xgamma(1)