summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-22 11:16:02 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-22 11:16:02 +0100
commite6a363514b8d1f113f280d4a011ad8a996613c84 (patch)
treecfbd84e37b0378ee9f385c5996fc9cf8ff02ef33
parentdaf9a10e2298ad1ac55e12ce0bd29220a4da8e06 (diff)
finfo: Strip # from comments
-rwxr-xr-xetc/functions/finfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/finfo b/etc/functions/finfo
index 694ab6c..87b8acd 100755
--- a/etc/functions/finfo
+++ b/etc/functions/finfo
@@ -8,5 +8,5 @@ typeset line
while read line; do
[[ $line == \#* ]] || break
[[ $line == *vim:ft=* ]] && continue
- echo $line
+ echo ${line#(\#|)\# }
done < $(whichf $1)