lkml.org 
[lkml]   [2021]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] lib: remove leading spaces before tabs
From
Date


On 2021/6/8 16:44, Andy Shevchenko wrote:
> On Tue, Jun 8, 2021 at 10:14 AM Zhen Lei <thunder.leizhen@huawei.com> wrote:
>>
>> 1) Run the following command to find and remove the leading spaces before
>> tabs:
>> find lib/ -type f | xargs sed -r -i 's/^[ ]+\t/\t/'
>
> Hint for the future, try to use what Git provides, for example `git
> ls-files -- lib/`.

Okay, thanks. I learned a new trick.

>

\
 
 \ /
  Last update: 2021-06-08 11:19    [W:0.102 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site