From b44dfc0d29e6cf8b0efb23bf693e77c5bdcaa9f1 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sat, 8 Apr 2000 00:02:53 +0000 Subject: [PATCH] Don't use ``grep | sed'' in the example for INCLUDE_CONFIG_FILE when sed can do both. --- sys/conf/NOTES | 2 +- sys/i386/conf/LINT | 2 +- sys/i386/conf/NOTES | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 407ecbdeb13..cb0e103b494 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 407ecbdeb13..cb0e103b494 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 407ecbdeb13..cb0e103b494 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