Veritas-bu

[Veritas-bu] Parsing the output of bpdbjobs

2001-06-29 14:25:30
Subject: [Veritas-bu] Parsing the output of bpdbjobs
From: dayalsd AT lycos DOT com (dayal singh)
Date: Fri, 29 Jun 2001 13:25:30 -0500
NBU GURU's,
              I was trying to parse the output to get the "write time"  from 
"bpdbjobs -report -all_columns "  using shell script(not perl). The output from 
bpdbjobs gives me from 50 to 250 coulmns of output for each line. As each line 
is not equal, I am having hard time in getting the correct output. AWK won't 
work if the fields are more than 3000 bytes. I can't hard code the script with 
"cut".  Is there any other way I can handle the problem without using Perl ?

My idea of writing the script to get the class, sched, media_server, client and 
write_time.


I appreciate y'r response

TIA

Dayal


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

<Prev in Thread] Current Thread [Next in Thread>