Thread df auslesen, regexp problem (24 answers)
Opened by FlorianL at 2007-05-25 14:41

Dubu
 2007-05-25 20:20
#76941 #76941
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Für automatisierte Auswertung das GNU df(1) bitte nur mit dem Switch -P bzw. --portability benutzen:
Quote
`-P'
`--portability'
    Use the POSIX output format.  This is like the default format
    except for the following:

      1. The information about each file system is always printed on
         exactly one line; a mount device is never put on a line by
         itself.  This means that if the mount device name is more
         than 20 characters long (e.g., for some network mounts), the
         columns are misaligned.

      2. The labels in the header output line are changed to conform
         to POSIX.

View full thread df auslesen, regexp problem