Benjamin Pflugmann <[EMAIL PROTECTED]> writes: > > # awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' /etc/fstab > > Just a small comment: the part "[ \t]*" is redundant. By using $1, awk > already skipped whitespaces. So, it should rather be
thanks - that's actually RH code :). as long as it doesn't break anything, i think i'm not going to take your patch, since the mdk patch is already pretty large and tough to maintain. thanks anyway. -- Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/