* tbm <[EMAIL PROTECTED]> [2004-09-18 17:44]:
> +bootdevline=`grep "^\ \+8\ \+$bootmin\ \+" /proc/partitions | sed 's/.* //'`

Thiemo pointed out in private communication that sed 's/.* //' will
not work under 2.4.  The following will work under both 2.4 and 2.6:
  sed -e "s/ \+/ /g" | cut -d " " -f5

-- 
Martin Michlmayr
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to