greymd / teip

Masking tape to help commands "do one thing well"
MIT License
571 stars 19 forks source link

Omit -g if -G enabled #40

Closed greymd closed 1 year ago

greymd commented 1 year ago

Currently, using oniguruma expression requires -G option and -g.

teip -Gg <pattern>

But it is redundunt. It is obvious that -g is required when -G is given. The way like below is better.

teip -G <pattern>
greymd commented 1 year ago

I finally came up with that this idea losts backword compatibility. Withdraw it for now.