Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Shell script broken, bdf adds new line for long filesystem name.

Shell script broken, bdf adds new line for long filesystem name.

From: Post, Ethan <Ethan.Post_at_ps.net>
Date: Tue, 07 Oct 2003 10:29:36 -0800
Message-ID: <F001.005D2492.20031007102936@fatcity.com>


Note that the foofoofoo volume causes the disk info to show up on the following line. A script I have that loops through each line coming back from bdf is breaking because of this. Any simple way to bring the line back up to the Filesystem line using awk, sed etc...?

bdf -l

Filesystem kbytes used avail %used Mounted on
/dev/vg02/foofoo 2048000 1973804 70415 97% /foofoo
/dev/vg02/foofoofoo

                     53248    6624   43711   13% /foofoofoo

/dev/vg02/foofoof 512000 259286 236944 52% /foofoof
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Post, Ethan
  INET: Ethan.Post_at_ps.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Oct 07 2003 - 13:29:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US