summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-04-08 00:02:53 +0000
committerbrian <brian@FreeBSD.org>2000-04-08 00:02:53 +0000
commitd741574cfe311711f9ca49b46dada42b8c505c89 (patch)
tree3cc74cfe16775acd0f65d47a3654f4a9750580c4 /sys
parent825b93bffd6e24aedc951459cd4f3fd890118b64 (diff)
downloadFreeBSD-src-d741574cfe311711f9ca49b46dada42b8c505c89.zip
FreeBSD-src-d741574cfe311711f9ca49b46dada42b8c505c89.tar.gz
Don't use ``grep | sed'' in the example for INCLUDE_CONFIG_FILE
when sed can do both.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/NOTES2
-rw-r--r--sys/i386/conf/LINT2
-rw-r--r--sys/i386/conf/NOTES2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 407ecbd..cb0e103 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -80,7 +80,7 @@ options PQ_LARGECACHE # color for 512k/16k cache
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
-# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
+# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT
index 407ecbd..cb0e103 100644
--- a/sys/i386/conf/LINT
+++ b/sys/i386/conf/LINT
@@ -80,7 +80,7 @@ options PQ_LARGECACHE # color for 512k/16k cache
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
-# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
+# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 407ecbd..cb0e103 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -80,7 +80,7 @@ options PQ_LARGECACHE # color for 512k/16k cache
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
-# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
+# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
OpenPOWER on IntegriCloud