From 2d49f165a9fcfc82a440f71d45d23cb507497159 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Sat, 22 Sep 2012 03:11:35 +0000 Subject: [PATCH] Spelling and whitespace corrections. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) --- usr.sbin/bsdconfig/include/messages.subr | 2 +- usr.sbin/bsdconfig/share/common.subr | 6 +++--- usr.sbin/bsdconfig/share/sysrc.subr | 4 ++-- usr.sbin/bsdconfig/startup/share/rcconf.subr | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/usr.sbin/bsdconfig/include/messages.subr b/usr.sbin/bsdconfig/include/messages.subr index 282d9369c4bf..fd3844028ab8 100644 --- a/usr.sbin/bsdconfig/include/messages.subr +++ b/usr.sbin/bsdconfig/include/messages.subr @@ -44,7 +44,7 @@ msg_no_such_file_or_directory="%s: %s: No such file or directory" msg_no_username="No username provided!" msg_not_found="not found" msg_ok="OK" -msg_permission_denied="%s: %s: permission denied" +msg_permission_denied="%s: %s: Permission denied" msg_please_enter_password="Please enter your password for sudo(8):" msg_please_enter_username_password="Please enter a username and password for sudo(8):" msg_previous_syntax_errors="%s: Not overwriting \`%s' due to previous syntax errors" diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr index c724c62f6700..5305a85e7231 100644 --- a/usr.sbin/bsdconfig/share/common.subr +++ b/usr.sbin/bsdconfig/share/common.subr @@ -63,12 +63,12 @@ f_dprintf() # f_err() { - printf "$@" >&2 + printf "$@" >&2 } # f_quietly $command [ $arguments ... ] # -# run a command quietly (quell any output to stdout or stderr) +# Run a command quietly (quell any output to stdout or stderr) # f_quietly() { @@ -76,7 +76,7 @@ f_quietly() } # f_have $anything ... -# +# # A wrapper to the `type' built-in. Returns true if argument is a valid shell # built-in, keyword, or externally-tracked binary, otherwise false. # diff --git a/usr.sbin/bsdconfig/share/sysrc.subr b/usr.sbin/bsdconfig/share/sysrc.subr index 014ab46a1f51..80deaa8be6c6 100644 --- a/usr.sbin/bsdconfig/share/sysrc.subr +++ b/usr.sbin/bsdconfig/share/sysrc.subr @@ -17,7 +17,7 @@ if [ ! "$_SYSRC_SUBR" ]; then _SYSRC_SUBR=1 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY @@ -166,7 +166,7 @@ f_sysrc_get() # # If the query was for `rc_conf_files' AND after calling - # source_rc_confs the vaue has not changed, then we should + # source_rc_confs the value has not changed, then we should # restore the value to the one inherited from RC_DEFAULTS # before performing the final query (preventing us from # returning what was set via RC_CONFS when the intent was diff --git a/usr.sbin/bsdconfig/startup/share/rcconf.subr b/usr.sbin/bsdconfig/startup/share/rcconf.subr index 25dec5478433..16cb29081e3e 100644 --- a/usr.sbin/bsdconfig/startup/share/rcconf.subr +++ b/usr.sbin/bsdconfig/startup/share/rcconf.subr @@ -113,8 +113,8 @@ f_startup_rcconf_map() # # Calculate digest used to determine if the on-disk global persistant - # cache file (containg this digest on the first line) is valid and can - # be used to quickly populate the cache value for immediate return. + # cache file (containing this digest on the first line) is valid and + # can be used to quickly populate the cache value for immediate return. # local rc_defaults_digest rc_defaults_digest=$( md5 < "$RC_DEFAULTS" )