Hi,
I am reading two values from oracle to unix variable and spliting them using the read command as follows,
get_details=`sqlplus -s $sld_user/$sld_password@$sld_string<<EOF
whenever sqlerror exit 1
whenever oserror exit 1
set feedback off
set heading off
set pagesize... (0 Replies)
I have a file {filename} which contains 65000 records
I need to split into 6 smaller files roughly 11000 records each.
Can someone advise me of the Unix command to do so ?
Many thanks (2 Replies)
Hi Script Masters I have a strange requirement. Please help.
I am using C shell.
I have a file like the below in sorted order
22
23
25
34
37
45
67
342
456
476
543
677
789
Now I have to split the file in such a way that first 5 of 2 digit number should be saved as aaa.in and the... (8 Replies)
I have log file whose size is 4 GB , i would like to split it to 1 gb each ,Can any one tell me the syntax of csplit comand for that.
I am using Sun0S 5.8 (3 Replies)
Hi
I have a file which looks like this
#HEllo
#How....
#version 1.0.1
#Author aaaaa
ab.-.1.-.90.-.80.-..-.OK
cd.-.8.-.91.-.800.-.xy.-..-.
the separator is .-. (dot hyphen dot)
I want to display this as columns like
ab cd
1 8
90 91 (1 Reply)
I have a very big log file which looks like this:
I need to split this file and create files with "+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+" as the delimiter.
The file names need to be the contents of the next line after the delimiter(FIRST_ITEM,SECOND_ITEM...so on..). (7 Replies)
Dear All,
I have a very large file which which i would like split into indvidual frames evrytime the line ends with "ENDMDL" and then name frame1.pdb frame2.pdb etc
can any one give me a few sugeestions? ideally i would like to have ENDMDL at the end of each frame or not pressent at all.
an... (4 Replies)
hi
I have a log file which contains some reports. The log file looks like this:-
STARTOFREPORT
/tmp
file1.txt
some
text
to
be
folowd
ENDOFREPORT
some non utilized
characters
STARTOFREPORT
/log
file2.txt
more
text (3 Replies)
Discussion started by: infyanurag
3 Replies
LEARN ABOUT SUSE
xml::dom::documentfragment
XML::DOM::DocumentFragment(3) User Contributed Perl Documentation XML::DOM::DocumentFragment(3)NAME
XML::DOM::DocumentFragment - Facilitates cut & paste in XML::DOM documents
DESCRIPTION
XML::DOM::DocumentFragment extends XML::DOM::Node
DocumentFragment is a "lightweight" or "minimal" Document object. It is very common to want to be able to extract a portion of a document's
tree or to create a new fragment of a document. Imagine implementing a user command like cut or rearranging a document by moving fragments
around. It is desirable to have an object which can hold such fragments and it is quite natural to use a Node for this purpose. While it is
true that a Document object could fulfil this role, a Document object can potentially be a heavyweight object, depending on the underlying
implementation. What is really needed for this is a very lightweight object. DocumentFragment is such an object.
Furthermore, various operations -- such as inserting nodes as children of another Node -- may take DocumentFragment objects as arguments;
this results in all the child nodes of the DocumentFragment being moved to the child list of this node.
The children of a DocumentFragment node are zero or more nodes representing the tops of any sub-trees defining the structure of the
document. DocumentFragment nodes do not need to be well-formed XML documents (although they do need to follow the rules imposed upon well-
formed XML parsed entities, which can have multiple top nodes). For example, a DocumentFragment might have only one child and that child
node could be a Text node. Such a structure model represents neither an HTML document nor a well-formed XML document.
When a DocumentFragment is inserted into a Document (or indeed any other Node that may take children) the children of the DocumentFragment
and not the DocumentFragment itself are inserted into the Node. This makes the DocumentFragment very useful when the user wishes to create
nodes that are siblings; the DocumentFragment acts as the parent of these nodes so that the user can use the standard methods from the Node
interface, such as insertBefore() and appendChild().
perl v5.12.1 2000-01-31 XML::DOM::DocumentFragment(3)