You are really tying our hands behind our backs here. You say you can execute Linux commands, but only if they are one-liners that don't use any shell language features like variable expansions and here-documents.
You say you have GNU tools. That must include sh (maybe sh.exe) and you must be able to execute that in a .bat file to execute a shell script with something like the following. Please create a .bat file containing:
And create a file named script.sh containing:
And then tell us what happens when you run that batch file.
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
vk_logmerge
VK_LOGMERGE(1) General Commands Manual VK_LOGMERGE(1)NAME
vk_logmerge - a Valgrind XML log file merger
SYNOPSIS
vk_logmerge [flags and input files in any order]
DESCRIPTION
vk_logmerge is a valkyrie(1) helper. Given multiple log files (in xml format) generated by multiple runs on a parallel machine, or multiple
log files generated by sequential runs on a single-processor machine, for the same binary, vk_logmerge merges the log files together, sum-
ming the counts of duplicates, and outputs the result to a single file. As input, vk_logmerge expects the log-files to-be-merged and/or a
file containing the list of log-files to-be-merged, with each entry on a separate line.
Log files can be merged from within valkyrie(1) , or use can invoke vk_logmerge directly.
OPTIONS -h Show help message
-v Be verbose (more -v's give more)
-t Output plain text (non-xml)
-f <log_list>
Obtain input files from <log_list> file (one per line)
-o <writefile>
File to write output to
At least 1 input file must be given.
If no '-o outfile' is given, writes to standard output.
EXAMPLES
vk_logmerge log1.xml -f loglist.fls -o merged.xml
SEE ALSO valkyrie(1), valgrind(1).
AUTHOR
vk_logmerge was written by Donna Robinson, Cerion Armour-Brown and others.
This manual page was written by Hai Zaar <haizaar@haizaar.com>, for the Debian project (but may be used by others).
2009-05-02 VK_LOGMERGE(1)