summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2017-04-07 21:44:08 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2017-04-07 21:44:08 +0000
commit570785644d4192f259455e489d30660bfb42608e (patch)
treec6efcbfc7d274940e1f693e8fa7517285ee35a0b /distrib
parenta136184deaf2081aa8ce141fa69ca04e2faee74c (diff)
Align comments of stripcom() function in netstart and install.sub.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub7
1 files changed, 4 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 0c47f9f0a99..6c7cce88910 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.991 2017/04/07 21:00:42 rpe Exp $
+# $OpenBSD: install.sub,v 1.992 2017/04/07 21:44:07 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -189,8 +189,9 @@ show_cols() {
rm -rf -- $_cdir
}
-# Echo file $1 to stdout. Skip comment lines and delete everything after the
-# first '#' from other lines.
+# Echo file $1 to stdout. Skip comment lines and delete everything
+# after the first '#' from other lines. Strip leading and trailing
+# whitespace if IFS is set.
stripcom () {
local _l