10-26-2008
How to remove xml namespace from xml file using shell script?
Tested it with a small file. I works! But when I'm using a larger file, it stops working.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
forgive me if this question is not relevant to this section.
i have a shell file that will automatically deploy the files that are necessary and will compile them. i need to automate this management process through cruise control, for this i need to know whether it is possible for me to... (2 Replies)
Discussion started by: sais
2 Replies
2. Shell Programming and Scripting
I have existing XML file as below, now based on input string in shell script on workordercode i need to create a seprate xml file
for e.g if we pass the input string as 184851 then it find the tag data from <workOrder>..</workOrder> and write to a new file and similarly next time if i pass the... (3 Replies)
Discussion started by: balrajg
3 Replies
3. Shell Programming and Scripting
I've got two different files and want to compare them.
File 1 :
HTML Code:
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies
4. Shell Programming and Scripting
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
5 Replies
5. Shell Programming and Scripting
Hi ,
I have a below xml:
<ns:Body>
<ns:result>
<Date Month="June" Day="Monday:/>
</ns:result>
</ns:Body>
i have a lookup abc.txtt text file with below details
Month June July August
Day Monday Tuesday Wednesday
I need a output xml with below tags
<ns:Body>
<ns:result>... (2 Replies)
Discussion started by: Nevergivup
2 Replies
6. Red Hat
Hey , can we read an xml file and make changes in it through shell script.
Thanks (4 Replies)
Discussion started by: ramsavi
4 Replies
7. Shell Programming and Scripting
Hi All,
My name is Prathyu and I am working as a ETL develper. I have one requirement to create a XML file based on the provided XSD file. As per the Datastage standards Key(repeatable) field does not contain any Null values so I am inserting some dummy tag line to that XML file.
... (14 Replies)
Discussion started by: Prathyu
14 Replies
8. Shell Programming and Scripting
<Start>
<Header>
This is header section
</Header>
<Body>
<Body_start>
This is body section
<a>
<b>
<c>
<st>111</st>
</c>
<d>
<st>blank</st>
</d>
</b>
</a>
</Body_start>
<Body_section>
This is body section (3 Replies)
Discussion started by: RJG
3 Replies
9. Shell Programming and Scripting
hi all, here is the sample log file and these errors are repeated in log file..
i need all the repeated time stamp ,severity and message tags needs to print in output file.. through shell script
<log-message>
<timestamp>2019-03-13T04:52:49.648-05:00</timestamp>
<severity>ERROR</severity>... (17 Replies)
Discussion started by: ravi
17 Replies
10. UNIX for Beginners Questions & Answers
I'm searching for the names of a TV show in the XML file I've attached at the end of this post. What I'm trying to do now is pull out/list the data from each of the <SeriesName> tags throughout the document. Currently, I'm only able to get data the first instance of that XML field using the... (9 Replies)
Discussion started by: hungryd
9 Replies
RA_T8(1) General Commands Manual RA_T8(1)
NAME
ra_t8 - convert RADIANCE picture to/from Targa 8-bit image file
SYNOPSIS
ra_t8 [ -d ][ -b ][ -c ncolors ][ -g gamma ][ -e +/-stops ][ -n sampfac ] input [ output ]
ra_t8 -r [ -g gamma ][ -e +/-stops ] [ input [ output ] ]
DESCRIPTION
Ra_t8 converts between RADIANCE and Targa 8-bit color-mapped image files (type 1 in Targa's documentation). In the default mode, a RADI-
ANCE picture is converted to a color-mapped Targa file of the same horizontal and vertical dimensions with 8-bits per pixel. The -d option
turns off dithering. The -b option converts the image to black and white. Only with this option can the input be taken from stdin. The
-c option allows fewer than 256 colors. The -g option specifies the exponent used in gamma correction; the default value is 2.2. An expo-
nent of 1.0 turns gamma correction off. The -e option specifies an exposure compensation in f-stops (powers of two). Only integer stops
are allowed, for efficiency. The -n option specifies a sampling factor for neural network color quantization. This value should be
between 1 and 80, where 1 takes the longest and produces the best results in small areas of the image. If no value is given, a faster
median cut algorithm is used. The -r option invokes a reverse conversion, from an 8-bit Targa file to a RADIANCE picture. If the output
file is missing, the standard output is used.
AUTHORS
Greg Ward
Anthony Dekker provided the code for neural network color quantization
BUGS
Run-length encoded files can be read but not written with this program.
SEE ALSO
pfilt(1), ra_bmp(1), ra_bn(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t16(1), ra_tiff(1), ximage(1)
RADIANCE
5/30/95 RA_T8(1)