On 9/17/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Harold Aling wrote:
I'd like to request a 'strip trailing spaces' option in the menu to be able to manually strip files of those 'byte-consuming bits of nothing' ;) ...
If somebody can post a nice working sed command for the custom commands,
I don't know sed, but awk could be:
awk '{gsub(/[\t ]+$/, ""); print}'
- Jeff