diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-22 11:16:02 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-22 11:16:02 +0100 |
commit | e6a363514b8d1f113f280d4a011ad8a996613c84 (patch) | |
tree | cfbd84e37b0378ee9f385c5996fc9cf8ff02ef33 | |
parent | daf9a10e2298ad1ac55e12ce0bd29220a4da8e06 (diff) |
finfo: Strip # from comments
-rwxr-xr-x | etc/functions/finfo | 2 |
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) |