2009/5/26 Gilles Sadowski <gil...@harfang.homelinux.org>:
> Hi.
>
>>>> python script that removes tailing spaces
>>>> from lines.
>
> [if: s/Python/Perl/]
>
> perl -i -pe 's/\s+$/\n/' some_file

I use

sed -i -e 's/[ \t]*$//' filename

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to