Re: external tool to remove embedded filenames

2020-10-02 Thread Joe Perches
( * removing mentors, I originally meant to send that to mentees ) On Fri, 2020-10-02 at 20:19 +0530, Bhaskar Chowdhury wrote: > On 11:47 Thu 01 Oct 2020, Joe Perches wrote: > > It's rather unnecessary for files to contain their > > path/filename in source code comments. > > > > Here's a trivial

Re: external tool to remove embedded filenames

2020-10-02 Thread Bhaskar Chowdhury
On 11:47 Thu 01 Oct 2020, Joe Perches wrote: It's rather unnecessary for files to contain their path/filename in source code comments. Here's a trivial little script that can remove embedded filenames in c90 style comments from files. This requires git. It does the following types of removals:

external tool to remove embedded filenames

2020-10-01 Thread Joe Perches
It's rather unnecessary for files to contain their path/filename in source code comments. Here's a trivial little script that can remove embedded filenames in c90 style comments from files. This requires git. It does the following types of removals: remove individual lines like /* filename */ c