Spelling and whitespace corrections.
Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
This commit is contained in:
parent
237f230d34
commit
0552e7d2c3
@ -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"
|
||||
|
@ -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.
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user