greymd / teip

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

Implement -g (grep) option and abolish -r option #6

Closed greymd closed 4 years ago

greymd commented 4 years ago
teip -g <pattern>

=> compatible with grep

teip -o -g <pattern>

=> only option (current -r option)

teip -Oog <pattern>

=> Oniguruma + only option (current -R option)

teip -g <pattern> -A 3

=> compatible with grep -A -B -C

greymd commented 4 years ago

Partially released at v1.2.0