2009/5/26 Gilles Sadowski <[email protected]>:
> 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
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to