summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-09-24 06:39:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-09-24 06:39:50 +0000
commitfd3185d1a12826a5ab7b0d307a5bc968b7548062 (patch)
tree1d2b527b1eea45c30e00edbd6a7b5089edb7b415 /distrib
parentfbfd257627ff1c85af70d9c1c64389bc326efe0a (diff)
use cutword, not sed, in msgbuf munging
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/ramdisk/install.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/alpha/ramdisk/install.md b/distrib/alpha/ramdisk/install.md
index 92b24bc0eca..84ae8327107 100644
--- a/distrib/alpha/ramdisk/install.md
+++ b/distrib/alpha/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.23 1998/09/11 22:55:46 millert Exp $
+# $OpenBSD: install.md,v 1.24 1998/09/24 06:39:49 millert Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -92,11 +92,11 @@ md_get_msgbuf() {
}
md_get_diskdevs() {
- md_get_msgbuf | egrep "^[sw]d[0-9]+ " | sed 's/ .*//'
+ md_get_msgbuf | egrep "^[sw]d[0-9]+ " | cutword 1
}
md_get_cddevs() {
- md_get_msgbuf | egrep "^a?cd[0-9]+ " | sed 's/ .*//'
+ md_get_msgbuf | egrep "^a?cd[0-9]+ " | cutword 1
}
md_get_partition_range() {