Re: [PATCH 1/1] lib: remove leading spaces before tabs

From: Andy Shevchenko
Date: Tue Jun 08 2021 - 04:46:06 EST


On Tue, Jun 8, 2021 at 10:14 AM Zhen Lei <thunder.leizhen@xxxxxxxxxx> 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/`.

--
With Best Regards,
Andy Shevchenko