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

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

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

From: <Peter.McLarty_at_mincom.com>
Date: Tue, 07 Oct 2003 16:09:25 -0800
Message-ID: <F001.005D24CF.20031007160925@fatcity.com>


I don't know if it will be available on your platform but have you tried using fold to see of that affects your script. I didn't think line wrapping was an issue with a script, so it seems to be a bug in bdf. have you tried just df

Cheers

--


Peter McLarty               E-mail: Peter.Mclarty_at_mincom.com
Technical Consultant        WWW: http://www.mincom.com
APAC Technical Services     Phone: +61 (0)7 3303 3461
Brisbane,  Australia        Mobile: +61 (0)402 094 238
                            Facsimile: +61 (0)7 3303 3048
=================================================
"If people did not sometimes do silly things, nothing intelligent would ever
get done."

This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise.

"Post, Ethan" <Ethan.Post_at_ps.net>
Sent by: ml-errors_at_fatcity.com
08/10/2003 04:29 AM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Shell script broken, bdf adds new line for long filesystem name.


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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Peter.McLarty_at_mincom.com

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 - 19:09:25 CDT

Original text of this message

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