06-11-2010
Wow, thanks for the quick response and your program.
However, I still have some problem. First it seems to take a lot of memory (Input files are about 4 Gb each), but I got it running assigning enough memory to the Job.
However, it then crashed by saying, "Wrong placed ()."
May that be caused by me submitting this task to a SGE cluster?
Thanks again!,
Sebastian
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Could any one please let me know what is the maximum number of characters
that will fit into a single line of a flat file on a unix.
Thanks. (1 Reply)
Discussion started by: Shivdatta
1 Replies
2. UNIX for Dummies Questions & Answers
How to add control characters at the end of each line in a file?
Can anyone help me with this?
Thanks,
Shobana (2 Replies)
Discussion started by: Shobana_s
2 Replies
3. Shell Programming and Scripting
This is my problem, my file (file A) contains the following information:
Now, I would like to create a file (file B) containing only the lines with 10 or more characters but less than 20 with their corresponding ID:
Then, I need to compare the entries and determine their frequency. Thus, I... (7 Replies)
Discussion started by: Xterra
7 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I'm new to using AWK and would be grateful for some basic advice to get me started.
I have a file consisting of 10 fields. Initially I wish to calculate the number of . , ~ and ^ characters in the 9th field ($9) of each line. This particular string also contains alphabetical... (6 Replies)
Discussion started by: Olly
6 Replies
5. Shell Programming and Scripting
In the vi editor, there seems to be some limit on the number of characters could be allowed in single line. I tried a line with characters up to 1880. It worked. But when i tried with something of 5000 characters, it doesnt work. Any suggestions.
Thanks in advance! (2 Replies)
Discussion started by: nram_krishna@ya
2 Replies
6. Shell Programming and Scripting
sed -e "s// /g" old.txt > new.txt
While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Discussion started by: ijustneeda
11 Replies
7. Shell Programming and Scripting
Hi Experts,
How to sepearate the list digit with letters : with a space from where the letters begins, or other words from where the digits ended.
file
52087mo(enbatl)
52049mo(enbatl)
52085mo(enbatl)
25051mo(enbatl)
The output should be looks like:
52087 mo(enbatl)
52049... (10 Replies)
Discussion started by: rveri
10 Replies
8. Shell Programming and Scripting
hi Gurus,
I need separate a file which is one huge line to multiple lines based on certain number of charactors. for example:
abcdefghi high abaddffdd
I want to separate the line to multiple lines for every 4 charactors.
the result should be
abcd
efgh
i hi
gh a
badd
ffdd
Thanks in... (5 Replies)
Discussion started by: ken6503
5 Replies
9. Shell Programming and Scripting
Hi
I want to use awk to match where field 3 contains a number within string - then print the line and just the number as a new field.
The source file is pipe delimited and looks something like
1|net|ABC Letr1|1530|||
1|net|EXP_1040 ABC|1121|||
1|net|EXP_TG1224|1122|||
1|net|R_North|1123|||... (5 Replies)
Discussion started by: Mudshark
5 Replies
10. Shell Programming and Scripting
I have the following script that will print column 4 ("25") when column 1 contains "123". However, I need to ignore the alpha characters that are contained in the input file. If I were to ignore the characters my output would be column 3.
What is the best way to print my column of interest... (3 Replies)
Discussion started by: ncwxpanther
3 Replies
LEARN ABOUT DEBIAN
bprecvfile
BPRECVFILE(1) BP executables BPRECVFILE(1)
NAME
bprecvfile - Bundle Protocol (BP) file reception utility
SYNOPSIS
bprecvfile own_endpoint_ID
DESCRIPTION
bprecvfile is intended to serve as the counterpart to bpsendfile. It uses bp_receive() to receive bundles containing file content. The
content of each bundle is simply written to a file named "testfileN" where N is the total number of bundles received since the program
began running.
Use ^C to terminate the program.
EXIT STATUS
0 bprecvfile has terminated.
FILES
No configuration files are needed.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
The following diagnostics may be issued to the ion.log log file:
Can't attach to BP.
bpadmin has not yet initialized BP operations.
Can't open own endpoint.
Another BP application task currently has own_endpoint_ID open for bundle origination and reception. Try again after that task has
terminated. If no such task exists, it may have crashed while still holding the endpoint open; the easiest workaround is to select a
different source endpoint.
bprecvfile bundle reception failed.
BP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
bprecvfile: can't open test file
File system error. bprecvfile terminates.
bprecvfile: can't receive bundle content.
BP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
bprecvfile: can't write to test file
File system error. bprecvfile terminates.
bprecvfile cannot continue.
BP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
bprecvfile: can't handle bundle delivery.
BP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO
bpsendfile(1), bp(3)
perl v5.14.2 2012-05-25 BPRECVFILE(1)