I have attached the file that I am working on. I want the data between first <FEEDMessage> and the last </FEEDMessage> extracted (including the tags) and writen to another file on unix.
I've got a configuration file that is filled with xml text statements for example:
<...../>
<...../>
<...../>
<data id="java-options" value="-server -Djava.security.policy..../>
<...../>
<...../>
<...../>
I want to write a korn shell script that will go to this specific line and add a... (2 Replies)
Hi..
How to search for multiple words in a single line using grep?.
Eg: Jack and Jill went up the hill
Jack and Jill were best friends
Humpty and Dumpty were good friends too
----------
I want to extract the 2nd statement(assuming there are several statements with... (11 Replies)
Hi
Is it possible to do the following in a single command
/usr/xpg4/bin/sed -e '/rows selected/d' /aemu/CALLAUTO/callauto.txt > /aemu/CALLAUTO/callautonew.txt
/usr/xpg4/bin/sed -e '/^$/d' /aemu/CALLAUTO/callautonew.txt > /aemu/CALLAUTO/callauto_new.txt
exit (1 Reply)
Hello,
Need help substituting a particular word in a file having a single line but no newline character at the end.
I was trying to use sed but it doesn't work probably because there is no newline char at the end of the line.
$ cat hlq_detail
/outputs/alvan23/PDFs/bills
$ cat... (5 Replies)
The file contains one line of text followed by a number. I want to take the number X at the end, take it out and display the last X words. X is the key telling me how many words from the end that I want and X will always be less than the number of words, so no problem there.
Example input and... (4 Replies)
FOLKS ,
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a particular word in the line . Can you all share some thoughts on this one.
thanks...
Venu (3 Replies)
I would like to add a line to the end of a single column text file. How do I go about doing that?
Input:
BEGIN
1
2
3
Output:
BEGIN
1
2
3
END
Thanks! (1 Reply)
I am trying to build a sinkhole for BIND. I created a master zone file for malicious domains and created a separate conf file, but I am stuck.
I have a list of known bd domains that is updated nightly. The file simply contains the list of domains, one on each line:
Bad.com
Bad2.com... (4 Replies)
hi I made this simple script to extract data and pretty much is a list and would like to extract data of two words separated by commas and I would like to make a new text file that would list these extracted data into a list and each in a new line.
Example that worked for me with text file... (5 Replies)
Discussion started by: dandaryll
5 Replies
LEARN ABOUT REDHAT
gimpprint-color
GIMPPRINT-COLOR(7) Gimp-Print Manual Pages GIMPPRINT-COLOR(7)NAME
gimpprint-color - Gimp-Print color balancing
DESCRIPTION
Gimp-Print includes several color balancing controls. These may be used to adjust the original image's brightness and contrast and gamma,
and the density and saturation of the output, as well as the individual cyan, magenta and yellow levels.
COLOR BALANCING
Cyan
Magenta
Yellow The range of values is 0.0 - 4.0, and defaults to 1.0. These three options allow specification of the cyan, magenta, and yellow
levels independently, for rebalancing the levels. Normally, these should be adjusted to yield neutral gray, but they can be used
for other effects.
Brightness
The range of values is 0.0 - 2.0, and defaults to 1.0. This adjusts the brightness of the image. 0.0 gives a fully black image;
2.0 gives a fully white image. Values greater than 1 will result in black not being solid and highlights turning white; values less
than 1 will result in white not being perfectly clear and shadows turning black.
Contrast
The range of values is 0.0 - 4.0, and defaults to 1.0. Adjust the contrast of the image. 0.0 gives a solid gray for the entire
image, the exact gray depending upon the brightness chosen.
Gamma The range of values is 0.1 - 4.0, and defaults to 1.0. Adjust the gamma of the image, over and above the printer-specific correc-
tion. Gamma less than 1.0 will result in a darker image; gamma greater than 1.0 will result in a lighter image. Unlike brightness,
gamma adjustment does not change the endpoints; it merely changes the shape of the input->output curve.
Density
The range of values is 0.1 - 2.0, and defaults to 1.0. Adjust the amount of ink deposited on the paper. If you've chosen the cor-
rect paper type and you're getting ink bleeding through the paper or puddling, try reducing the density to the lowest value you can
while still achieving solid black. If you're not getting solid black, even with the contrast and brightness at 1.0, try increasing
the density.
All of the printers supported here actually need less than 100% ink density in most cases, so the actual density is something other
than the nominal density setting. The effective density setting cannot go above 100%, so if a value specified will result in an
excessively high density level, it will be silently limited to 1.0.
Saturation
The range of values is 0.0 - 9.0, and defaults to 1.0. Adjust the brilliance of colors. 0.0 results in pure grayscale; using this
with Color=1 is one way of getting grayscale (see below under "Color" for a full discussion). Saturation of less than 1.0 results
in more muted colors; saturation of greater than 1.0 results in more vibrant colors. Very high saturation often results in very
strange effects, including posterization and banding that might not be expected. For normal purposes, the saturation should gener-
ally be less than 1.5.
COPYRIGHT
Copyright (C) 2001 Michael Sweet (mike@easysw.com) and Robert Krawitz (rlk@alum.mit.edu)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This manual page was written by Roger Leigh (roger@whinlatter.uklinux.net)
SEE ALSO gimpprint-dithers(7), gimpprint-imagetypes(7), gimpprint-inktypes(7), gimpprint-mediasizes(7), gimpprint-mediasources(7), gimpprint-medi-
atypes(7), gimpprint-models(7), gimpprint-resolutions(7).
Version 4.2.4 25 Nov 2002 GIMPPRINT-COLOR(7)