summaryrefslogtreecommitdiff
path: root/distrib/mac68k/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-25 19:18:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-25 19:18:43 +0000
commit98f744d503ff2a8b62f222bf4891f35ac4edceaa (patch)
tree0afda579eba1c3bd119b15efb3c65db8bcff88ba /distrib/mac68k/ramdisk
parent8508265d49c9b3049cc792bb78efdacf0125b3a3 (diff)
egrep -a to permit working with binary data in dmesg
Diffstat (limited to 'distrib/mac68k/ramdisk')
-rw-r--r--distrib/mac68k/ramdisk/install.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/mac68k/ramdisk/install.md b/distrib/mac68k/ramdisk/install.md
index 65a040b49c8..dfb1f63dc17 100644
--- a/distrib/mac68k/ramdisk/install.md
+++ b/distrib/mac68k/ramdisk/install.md
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: install.md,v 1.3 1999/09/03 18:55:28 deraadt Exp $
+# $OpenBSD: install.md,v 1.4 2001/01/25 19:18:39 deraadt Exp $
# $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -113,12 +113,12 @@ md_machine_arch() {
md_get_diskdevs() {
# return available disk devices
- cat /kern/msgbuf | egrep "^sd[0-9]+ " | cutword 1 | sort -u
+ egrep -a "^sd[0-9]+ " /kern/msgbuf | cutword 1 | sort -u
}
md_get_cddevs() {
# return available CD-ROM devices
- cat /kern/msgbuf | egrep "^cd[0-9]+ " | cutword 1 | sort -u
+ egrep -a "^cd[0-9]+ " /kern/msgbuf | cutword 1 | sort -u
}
md_get_partition_range() {