We are using the below script for reading a variable from the xml file
XML file:
whe do have a property file for the new values and with sed command we are replacing the existing variable value in xml with the property file values but we are getting
sed: command garbled: s/ exception even after using double quotes("") and if we put single quotes then the variable is not getting changed in xml file.
The value of Service.ServerName in the property file is localhost2.
appreciate for quick response.
Last edited by Franklin52; 11-07-2011 at 06:01 AM..
Reason: Please use code tags for data and code samples, thank you
Hey all,
I'm writting my first C program (Apart from the little ones I did to learn the program).
What I want for this program to do is ping a range of IP's and then place the reply if alive into a file the compare all in that file to the /etc/hosts file to find the host name.
I know I... (2 Replies)
Dear friends,
please tell me how to identify the type of the shell (whether cShell, kshell or anything else)
please tell me the command.
waiting for ur reply....
regards,
swamymns (2 Replies)
I am having trouble getting files to ftp over when I run the file names through a loop. If I just do one file it works, but inside of a for loop it does not.
Help!
################section 2
cd /home/salazar/chk_data
chmod 777 *
ftp -n 161.241.--.-- <<!
user anonymous \n
ascii
for... (6 Replies)
hi,
i want to put a set of commands inside a script and executing commands sequentially. there are 2 commands, the first command copies the program from my machine to another machine, execute it and get the result on my machine. the second command removes the program which was copied to the... (4 Replies)
Hi everbody,
Can anyone let me know the resources for list of network, process, database related commands of solaris10 possibly with little bit of explanation.
Thanks in advance,
Chandra Sekhar. (1 Reply)
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
hi, I have a litle problem i wish to excute this comand :
./test.sh -e txt /home -l a
so what it says is that "-e" shows me all the extenions that are ".txt" in "home" this works but then i wish that "-l" will show all files begining in this case with the letter "a" . Both comands work... (5 Replies)
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
hello
can help to script to find the listener is up or down for diferent db
i have 2 listener
ps -fea |grep tns
root 17333 17559 0 12:26:38 pts/3 0:00 grep tns
oracle 3800 1 1 Jul 23 ? 400:42 /u01/app/oracle/product/9.2.0/bin/tnslsnr LISTENER -inherit
... (1 Reply)
Discussion started by: ceciaide
1 Replies
LEARN ABOUT FREEBSD
ppmquantall
ppmquantall(1) General Commands Manual ppmquantall(1)NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ...
DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new
ones, and overwrites the input files with the new quantized versions.
If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a
period and the extension text you specify.
Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can
only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this
problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run
ppmquant on that, and then split it up into little pixmaps again.
(Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize
each pixmap to that set.)
SEE ALSO ppmquant(1), ppm(5)AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
27 July 1990 ppmquantall(1)