Hi,
I'm happy that you're enjoying Global.
> I noticed that global --match-part option doesn't seem to work.
It depends on actual file name.
In the following example, the result is always the same.
[Example 1]
sys/
|-i386/
|-test.c
$ global -cPM --match-part=first sys
sys/i386/test.c # [sys]/i386/test.c
$ global -cPM --match-part=last sys
sys/i386/test.c # [sys]/i386/test.c
$ global -cPM --match-part=all sys
sys/i386/test.c # [sys]/i386/test.c
On the other hand, in the following example, three 'sys'
appear in the project.
[Example 2]
sys/
|-i386sys/
|-sys.c
The result will be as follows.
$ global -cPM --match-part=first sys
sys/i386sys/sys.c # [sys]/i386sys/sys.c
$ global -cPM --match-part=last sys
sys.c # sys/i386sys/[sys].c
$ global -cPM --match-part=all sys
sys.c # sys/i386sys/[sys].c
sys/i386sys/sys.c # [sys]/i386sys/sys.c
sys/sys.c # sys/i386[sys]/sys.c
Regards,
Shigio