I found and downloaded this hxxp://www.activestate.com/activeperl/downloads , but I am totally beginner about, what the way to use your script? Where can I input my files? Excuseme if I am asking really simple questions for you totally clear.
Save the snippet I posted as merge_xml.pl
Run at the command prompt as perl merge_xml.pl file1.xml file2.xml file3.xml > big.xml
This suggested code will accommodate as many files as you want to merge. It uses the following entries as unique ID
Hello,
My apologies if this has been posted elsewhere, I have had a look at several threads but I am still confused how to use these functions. I have two files, each with 5 columns:
File A: (tab-delimited)
PDB CHAIN Start End Fragment
1avq A 171 176 awyfan
1avq A 172 177 wyfany
1c7k A 2 7... (3 Replies)
Hi,
I have 20 tab delimited text files that have a common column (column 1). The files are named GSM1.txt through GSM20.txt. Each file has 3 columns (2 other columns in addition to the first common column).
I want to write a script to join the files by the first common column so that in the... (5 Replies)
I have file1.txt
BGE179W1
BGE179W2
BGE179W3
BGE187W1
BGE187W2
BGE187W3
BGE194W1
BGE194W2
BGE194W3
BGE227W1
BGE227W2
BGE227W3
BGE288W1
BGE288W2
BGE288W3
BGE650W1
---------- Post updated at 12:41 AM ---------- Previous update was at 12:39 AM ---------- (5 Replies)
Hello everybody,
I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings..
The original XML files contain the source code for... (12 Replies)
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Hi all,
I need help to parse this xml file that has paragraphs broken in different lines and I would like to join in a single line.
I hope you can understand my explanation. Thanks for any help/direction.
The script could be in bash, awk, ruby, perl whatever please
In the output I want:... (8 Replies)
Hello,
This post is already here but want to do this with another way
Merge multiples files with multiples duplicates keys by filling "NULL" the void columns for anothers joinning files
file1.csv:
1|abc
1|def
2|ghi
2|jkl
3|mno
3|pqr
file2.csv:
1|123|jojo
1|NULL|bibi... (2 Replies)
Discussion started by: yjacknewton
2 Replies
LEARN ABOUT DEBIAN
evolvotron_mutate
EVOLVOTRON_MUTATE(1) Evolvotron EVOLVOTRON_MUTATE(1)NAME
evolvotron_mutate - Render an evolvotron function tree to an image.
SYNOPSIS
evolvotron_mutate < function_in.xml > function_out.xml
evolvotron_mutate -g > function_out.xml
DESCRIPTION
evolvotron_mutate either mutates an existing image function (saved to an XML file), or (with the -g option) creates a new image function.
The mutation parameters and function weightings are the same as used by evolvotron in its default reset state.
See the evolvotron user manual (accessible from the evolvotron application's Help menu) for more information on image functions.
COMMANDLINE OPTIONS -g Specifies that no function should be read from standard input. The output function is created at random.
EXAMPLES
evolvotron_mutate -g | tee function0.xml | evolvotron_render function0.ppm
evolvtron_mutate < function0.xml > function1.xml
AUTHOR
evolvotron_mutate was written by Tim Day (www.timday.com) and is released under the conditions of the GNU General Public License. See the
file LICENSE supplied with the source code for details.
SEE ALSO evolvotron(1), evolvotron_render(1)www.timday.com 25 Feb 2004 EVOLVOTRON_MUTATE(1)