Hello,
i have a very big file that has more then 80 MBytes (100MBytes). So with my CVS Application I cannot commit this file (too Big) because it must have < 80 MBytes.
How can I split this file into two others files, i think the AIX Unix command :
split -b can do that, buit how is the right... (2 Replies)
Hi friends..
We have urgent requirement.We need to split the big xml having multiple orders into multiple xmls
having each order in each xml.
For Example
In input XMl will be in following format with multiple line orders..
<OrderDetail BillToKey="20100805337" Createuserid="CreateGuestOrder"... (8 Replies)
We have 2 XML file 1. ORIGINAL.xml file and 2. ATTRIBUTE.xml files, In the ORIGINAL.xml we need some modification as <resourceCode>431048</resourceCode>under <item type="Manufactured"> tag - we need to grab the 431048 value from tag and pass it to database table in unix shell script to find the... (0 Replies)
Hi All,
Find the following code:
<Universal>D38x82j1JJ
</Universal>
I want to retrieve the value of <Universal> tag as below:
Please help me. (3 Replies)
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
File:
<xml><object1>house</object1><object2>child</object2>... (9 Replies)
Hi All,
We need to split a large xml into multiple valid xml with same header(2lines) and footer(last line) for N number of letterId.
In the example below we have first 2 lines as header and last line as footer.(They need to be in each split xml file)
Header:
<?xml version="1.0"... (5 Replies)
Hi,
Anyone can help, I have a large textfile (one file), and I need to split into multiple file to break each file into ^L.
My textfile
==========
abc company
abc address
abc contact
^L
my company
my address
my contact
my skills
^L
your company
your address
========== (3 Replies)
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
I want to write a one line script that outputs the result of multiple xml tags from a XML file. For example I have a XML file which has below XML tags in the file:
<EMAIL>***</EMAIL>
<CUSTOMER_ID>****</CUSTOMER_ID>
<BRANDID>***</BRANDID>
Now I want to grep the values of all these specified... (1 Reply)
Discussion started by: shubh752
1 Replies
LEARN ABOUT DEBIAN
ample.html
AMPLE.HTML(5) User Manual AMPLE.HTML(5)NAME
ample.html - html template for Ample
DESCRIPTION
This file, by default /etc/ample/ample.html, is read by Ample at startup and used as a base for it's HTML pages. These pages are rendered
whenever a webbrowser connects and requests a list of available songs and directories (typically done by connecting to
http://server:port/index.html).
The file is divided into three sections, the header, the middle and the footer. The header and the footer are the same on each page gener-
ated while the "middle" is copied into the final HTML document once for each file or directory that is going to be listed. Although this
may sound confusing, it will probably become much more evident once you look at the example below.
Variables are written in uppercase and enclosed within "at" signs (example: @NAME@) and are replaced dynamically when the page is con-
structed. Some variables can exist anywhere in the document and some can only exist in the "middle" section, see the information about
each variable for details.
EXAMPLE
<!-- Beginning of header -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>@SERVERNAME@</title>
</head><body>
<center>
<p><h1>@SERVERNAME@</h1></p>
<p><h2>Tracks currently available in @PATH@</h2></p>
<p><font size="-1">[
<a href="index.m3u">playlist for this dir</a> |
<a href="rindex.m3u">recursive playlist</a> ]
</font></p>
<p><font size="-1">
[ <a href="../index.html">Up one level</a> ]
</font></p>
<div align="center">
<table border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr><td>
<b>TYPE</b>
</td><td>
<b>URL</b>
</td></tr>
<!-- End of header -->
@BEGIN@
<!-- Beginning of "middle" -->
<tr><td>
@TYPE@
</td><td>
<a href="@URL@">@NAME@</a>
</td></tr>
<!-- End of "middle" -->
@END@
<!-- Beginning of footer -->
</table>
</div>
<p align="right"><font size="-1">
powered by Ample, for more information, see the
<a href="http://ample.sourceforge.net">project homepage</a>
</font></p>
</center>
</body>
</html>
<!-- End of footer -->
SUMMARY OF VARIABLES
SPECIAL - Only used once
BEGIN
END
GLOBAL - Can be used anywhere
SERVERNAME
PORT
PATH
NON-GLOBAL - Can only be used in the "middle" section
NAME
URL
LENGTH
TITLE
SIZE
TYPE
SPECIAL VARIABLES
These can only be used once.
BEGIN This variable (when placed in the beginning of a new line) marks the end of the header section and the start of the "middle" sec-
tion.
END This variable (when placed in the beginning of a new line) marks the end of the "middle" section and the start of the footer sec-
tion.
GLOBAL VARIABLES
These can be used anywhere.
SERVERNAME
The name of the server as given in ample.conf(5).
PORT The port that the server is listening to.
PATH The current path the user is viewing.
NON-GLOBAL VARIABLES
These can only be used in the "middle" section.
NAME The name of the song or directory.
URL The URL of the song or directory.
LENGTH The song length (in seconds) or blank if it is a directory.
TITLE The title of the song or "DIR" if it is a directory.
SIZE The file size or blank if it is a directory.
TYPE "FILE" if it is a file or "DIR" if it is a directory.
AUTHOR
David Hardeman <david@2gen.com>
SEE ALSO ample(1), ample.conf(5)Ample JANUARY 2002 AMPLE.HTML(5)