Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-09-23 Thread Nicolas Palix (LIG)
Le 10/08/17 à 19:40, Cihangir Akturk a écrit : When invoked with V=1, coccicheck script prints the information about which semantic patch (*.cocci file) used for this operation. Actually, it prints out the relative path of the related semantic patch. The script uses sed to remove the source

Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-09-23 Thread Nicolas Palix (LIG)
Le 10/08/17 à 19:40, Cihangir Akturk a écrit : When invoked with V=1, coccicheck script prints the information about which semantic patch (*.cocci file) used for this operation. Actually, it prints out the relative path of the related semantic patch. The script uses sed to remove the source

Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-09-22 Thread Cihangir Akturk
On Thu, Aug 10, 2017 at 09:08:31PM +0200, Julia Lawall wrote: > > > On Thu, 10 Aug 2017, Cihangir Akturk wrote: > > > When invoked with V=1, coccicheck script prints the information about > > which semantic patch (*.cocci file) used for this operation. Actually, > > it prints out the relative

Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-09-22 Thread Cihangir Akturk
On Thu, Aug 10, 2017 at 09:08:31PM +0200, Julia Lawall wrote: > > > On Thu, 10 Aug 2017, Cihangir Akturk wrote: > > > When invoked with V=1, coccicheck script prints the information about > > which semantic patch (*.cocci file) used for this operation. Actually, > > it prints out the relative

Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-08-10 Thread Julia Lawall
On Thu, 10 Aug 2017, Cihangir Akturk wrote: > When invoked with V=1, coccicheck script prints the information about > which semantic patch (*.cocci file) used for this operation. Actually, > it prints out the relative path of the related semantic patch. The > script uses sed to remove the

Re: [PATCH] coccicheck: improve pattern for getting relative path

2017-08-10 Thread Julia Lawall
On Thu, 10 Aug 2017, Cihangir Akturk wrote: > When invoked with V=1, coccicheck script prints the information about > which semantic patch (*.cocci file) used for this operation. Actually, > it prints out the relative path of the related semantic patch. The > script uses sed to remove the

[PATCH] coccicheck: improve pattern for getting relative path

2017-08-10 Thread Cihangir Akturk
When invoked with V=1, coccicheck script prints the information about which semantic patch (*.cocci file) used for this operation. Actually, it prints out the relative path of the related semantic patch. The script uses sed to remove the source tree part from cocci file path like so: FILE=`echo

[PATCH] coccicheck: improve pattern for getting relative path

2017-08-10 Thread Cihangir Akturk
When invoked with V=1, coccicheck script prints the information about which semantic patch (*.cocci file) used for this operation. Actually, it prints out the relative path of the related semantic patch. The script uses sed to remove the source tree part from cocci file path like so: FILE=`echo