Opened 9 years ago

Closed 8 years ago

#7121 closed enhancement (fixed)

cleaning files

Reported by: Denis Mugnier Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.9
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

hi,

This patch cleans all the spaces at the end of the lines.

It is the result of the command : find ./ -name "*.xml" -exec sed -i {} -e "s/ *$g" \;

I use occasionally this command to clean the french version of BLFS.

bye

Attachments (1)

cleaning_files.patch (178.4 KB ) - added by Denis Mugnier 9 years ago.

Download all attachments as: .zip

Change History (4)

by Denis Mugnier, 9 years ago

Attachment: cleaning_files.patch added

comment:1 by Fernando de Oliveira, 8 years ago

I can do this, if nobody objects.

comment:2 by Fernando de Oliveira, 8 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:3 by Fernando de Oliveira, 8 years ago

Resolution: fixed
Status: assignedclosed

Thanks, Denis.

Fixed at r16645.

Not sure if it could damage the book, but there are also lines with only spaces, which, I think, should be "empty".

Those could perhaps be fixed with 'sed -i 's/ *$', but I'm not sure.

Note: See TracTickets for help on using tickets.