summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-06-02 23:08:21 +0000
committerdteske <dteske@FreeBSD.org>2013-06-02 23:08:21 +0000
commit12134e26ca0ec20150a0177f47621ac54d429cce (patch)
tree6edfa5acdf9d76429ce799147624b1d927875189
parentdb6026d0e28028e51d2816468555570adaba2cd8 (diff)
downloadFreeBSD-src-12134e26ca0ec20150a0177f47621ac54d429cce.zip
FreeBSD-src-12134e26ca0ec20150a0177f47621ac54d429cce.tar.gz
Fix a copy/paste error within a comment.
-rw-r--r--usr.sbin/bsdconfig/share/strings.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/strings.subr b/usr.sbin/bsdconfig/share/strings.subr
index 4fd4dc0..a4e436b 100644
--- a/usr.sbin/bsdconfig/share/strings.subr
+++ b/usr.sbin/bsdconfig/share/strings.subr
@@ -253,7 +253,7 @@ f_str2varname()
#
# foo="abc'123"
# f_shell_escape "$foo" bar # bar=[abc'\''123]
-# eval echo \'$foo\' # produces abc'123
+# eval echo \'$bar\' # produces abc'123
#
# This is helpful when processing an argument list that has to retain its
# escaped structure for later evaluations.
OpenPOWER on IntegriCloud