Re: [PATCH v4 2/4] *.[ch]: remove extern from function declarations using sed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Denton Liu <liu.denton@xxxxxxxxx> writes:

> There has been a push to remove extern from function declarations.
> Finish the job by removing all instances of "extern" for function
> declarations in headers using sed.
>
> This was done by running the following on my system with sed 4.2.2:
>
>     $ git ls-files \*.{c,h} | \
>         grep -v ^compat/ | \

Lose the backslash.  Your shell knows its own syntax sufficiently
well, and when you end a line with a pipe, it knows that you haven't
finished speaking to it and waits for you to give the command
downstream of the pipe, without being told that you haven't finished
with a backslash.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux