Commit Graph

15 Commits

Author SHA1 Message Date
Bill Mill
c26f22c768 fix typos in batgrep help 2023-09-13 10:41:31 -07:00
Bill Mill
f47d9c4138 add a test 2023-06-15 16:54:45 -07:00
Ethan P
ea604457ea
batpipe: Add BATPIPE_TERM_WIDTH 2023-03-21 01:58:47 -07:00
Konstantin Mikhailov
8ad00bd978 batgrep: add flag to disable separators between files 2021-08-29 13:49:25 -07:00
Ethan P
cae57be87b
batgrep: Respect the BAT_STYLE environment variable (#54) 2021-04-09 01:12:36 -07:00
Ethan P
e4e916c63b
test: Update snapshots 2021-04-02 16:32:54 -07:00
Ethan P
d8e7cd1d1b
lib: Update copyright year to 2021 2021-03-24 15:59:43 -07:00
Ethan P
40a66d934d
batgrep: Add test for searching from stdin contents (#42) 2020-10-28 19:19:46 -07:00
Alissa Huskey
57be774f88 Fix gnu stat flag
- fix gnu stat formatting option from %z to %Z
- use read with a one second timeout instead of sleep, then quit if user
  responds with "q" (for testing, mostly)
- call pager_exec on entr and bat line instead of main so that --clear
  works
2020-07-06 17:36:03 -07:00
Alissa Huskey
4c09718a46 batwatch changes to reveal a bug and add --help
- Add `-h` and `--help` flags to print out basic usage.
- Refactor determine_stat_variant so that it checks to make sure the
value from `stat` is a epoch timestamp, and exit noisily if it is not.
- Change `determine_watcher` to set the `OPT_WATCHER` global directory
directly instead of echoing it then being called from a subshell. There
was an errror that the subshell was obscuring.
- Add a test to reflect the bug.
2020-07-06 17:36:03 -07:00
Ethan P
76afe39c96 test: Generate snapshot for batdiff 2020-04-27 18:51:36 -07:00
Ethan P
c4af3eb637
Add tests for all programs --version 2020-04-08 03:11:56 -07:00
Ethan P
b1ccd08034
Update snapshots 2020-04-01 12:51:29 -07:00
Ethan P
6b57f3ff3c
Fix invalid snapshot 2020-02-19 21:33:58 -08:00
Ethan P
88e71bbb38
Update to use 'best' for testing 2020-02-19 20:49:20 -08:00