git-migration: tree_filter.sh - remove last empty line(s)
glen
glen at pld-linux.org
Mon Feb 14 07:47:34 CET 2011
Author: glen Date: Mon Feb 14 06:47:34 2011 GMT
Module: git-migration Tag: HEAD
---- Log message:
- remove last empty line(s)
---- Files affected:
git-migration:
tree_filter.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: git-migration/tree_filter.sh
diff -u git-migration/tree_filter.sh:1.2 git-migration/tree_filter.sh:1.3
--- git-migration/tree_filter.sh:1.2 Mon Feb 14 07:46:05 2011
+++ git-migration/tree_filter.sh Mon Feb 14 07:47:29 2011
@@ -6,5 +6,7 @@
sed -i -e "
/^${first_line}$/d
/^${log_line}$/,\$d
+ # kill last empty line(s)
+ \${/^\$/d}
" $spec
done
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/tree_filter.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list