[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Trailing whitespaces throughout the tree.
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Trailing whitespaces throughout the tree. |
Date: |
Fri, 13 Apr 2012 17:12:43 -0400 |
On Fri, Apr 13, 2012 at 8:41 AM, Moritz Fischer
<address@hidden> wrote:
>> $ sed -i -e 's/\s\+$//g' $(find . -type f | grep -v '.git')
>
>
> Ehrm ... yeah ... I was kinda quick with this one ... of course patching png
> images and other binary files is not a good idea ...
>
> Should be something like:
>
> $ sed -i -e 's/\s\+$//g' $(find . -type f | grep -v '.git' | grep -v
> 'png' | grep -v 'eps')
>
> instead.
>
> Sorry for the double post.
>
> Cheers,
>
> Moritz
Moritz,
Thanks, I'm going to apply this and stash a script of it in dtools/bin
for future use.
Tom