03-20-2007
how do I correct that problem.. please suggest some modifications to the code for me to correct the issue.. its really urgent
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI all!
I have a problem parsing the output of another process. The output is like this (C):
printf("\rCheck exist: %d/%d",idx,pBF->NBits());
The aim of the script I'm coding is to save in a separate file the last output line of first process.
This is the script now (Shell script):
... (3 Replies)
Discussion started by: victorin
3 Replies
2. Shell Programming and Scripting
I am VERY new to unix scripting. I am having trouble parsing a line into fields for further processing.
I have this script:
#bin/sh
cat ztest2.txt | while read line
do
zvar1=`echo $line | cut -f6`
echo "zvar1 is " $zvar1
done
********************
ztest2.txt looks like:
1 ... (2 Replies)
Discussion started by: rlwilli
2 Replies
3. Shell Programming and Scripting
Hi All,
Following is the sample file
and following is the op desired
that is the last entry of each unique first field is required.
My solution is as follows
However the original file has around a million entries and around a 100,000 uniques first fields, so this soln.... (6 Replies)
Discussion started by: gauravgoel
6 Replies
4. Shell Programming and Scripting
I have a file that contains the output of the ls -iR command, something like this:
./results:
2504641011 result_1410 2500957642 result_525
2504641012 result_1425 2500957643 result_540
./tests/1:
2500788755 1 2500788743 1000
./tests/2:
2500788759 3 2500788758 999
... (6 Replies)
Discussion started by: looza
6 Replies
5. Shell Programming and Scripting
Hi Scripting Gurus,
I am trying to parse a csv file and generate a new output file.
The input file will be a variable length in turns of rows and columns.
output file will have 8 columns. we have three columns from the header for each set.
just to give little bit more clarification each row... (15 Replies)
Discussion started by: vkr
15 Replies
6. Shell Programming and Scripting
I need to parse the following out put and determine if the USB is a DISK and whether or not it's External.
If an HBA line contains "USB" then does the next line contain
"DISK" and "External".
0:0,31,0: HBA : (aacraid,1) AAC SCSI
0,0,0: DISK : Adaptec ASR4800SAS Volu0001
... (6 Replies)
Discussion started by: lochraven
6 Replies
7. Shell Programming and Scripting
Hey guys,
I have this file generated by me... i want to create some HTML output from it.
The problem is that i am really confused about how do I go about reading the file.
The file is in the following format:
TID1 Name1 ATime=xx AResult=yyy AExpected=yyy BTime=xx BResult=yyy... (8 Replies)
Discussion started by: umar.shaikh
8 Replies
8. Shell Programming and Scripting
Hi I have an XML output like :
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <envelope>
- <body>
- <outputGetUsageSummary>
- <usgSumm rerateDone="5">
- <usageAccum accumId="269" accumCaptn="VD_DP_AR" inclUnits="9999999.00" inclUnitsUsed="0.00" shared="false" pooled="false"... (7 Replies)
Discussion started by: rkrish
7 Replies
9. Shell Programming and Scripting
I have an output file similar to this
>HWI-ST766:129:D0WJDACXX:4:2308:16645:199681.1 /start=1 /end=100 /strand=+ Eukaryotic18S_rRNA
GATTAAGCCATGCATGTGTAAGTTTAAAGTCCTAGAAGGATGAAACTGCGGACGGCTCAT
TATAACAGTAATAGTTTCTTTGGTTAGTATCTATAAGGAT
>HWI-ST766:129:D0WJDACXX:4:2308:2922:199946.1 /start=1... (4 Replies)
Discussion started by: fozrun
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I need some advise on how to print 'sections' of the attached file. I am searching for some that says Marked Corrupt and print some lines after it.
At the moment I am running the command below:
sed -n -e '/Marked Corrupt/{N;N;p;}' rman_list_validate.txtThis gives me the following... (1 Reply)
Discussion started by: newbie_01
1 Replies
LEARN ABOUT DEBIAN
bpsendfile
BPSENDFILE(1) BP executables BPSENDFILE(1)
NAME
bpsendfile - Bundle Protocol (BP) file transmission utility
SYNOPSIS
bpsendfile own_endpoint_ID destination_endpoint_ID file_name [class_of_service]
DESCRIPTION
bpsendfile uses bp_send() to issue a single bundle to a designated destination endpoint, containing the contents of the file identified by
file_name, then terminates. The bundle is sent with no custody transfer requested, with TTL of 300 seconds (5 minutes). When
class_of_service is omitted, the bundle is sent at standard priority; for details of the class_of_service parameter, see bptrace(1).
EXIT STATUS
0 bpsendfile 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.
Can't stat the file
Operating system error. Check errtext, correct problem, and rerun.
bpsendfile can't create file ref.
Probably an unrecoverable database error, in which case the local ION node must be terminated and re-initialized.
bpsendfile can't create ZCO.
Probably an unrecoverable database error, in which case the local ION node must be terminated and re-initialized.
bpsendfile can't send file in bundle.
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
bprecvfile(1), bp(3)
perl v5.14.2 2012-05-25 BPSENDFILE(1)