From e6a363514b8d1f113f280d4a011ad8a996613c84 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Mar 2009 11:16:02 +0100 Subject: finfo: Strip # from comments --- etc/functions/finfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions/finfo') 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) -- cgit v1.2.3