bat-extras/src
Trevor Leibert 20cc74e8b4 batman: Fix error when using fzf to pick manpages
- steps to reproduce error:
  - run batman with no arguments
  - pick any entry
  - script exits and man prints an error message similar to 'No manual entry for .k5identity  in section 5'

I speculated that this error was due to whitespace being attached to the second argument in the man call.
This commit fixes this error by piping the second argument through xargs to strip these spaces.

After applying this commit the script works as expected.
2022-07-21 19:37:56 -07:00
..
bat-modules.sh bat-modules: Add --modules-file option 2020-07-06 18:15:01 -07:00
batdiff.sh batdiff: Fix line too long (>80 chars) 2022-07-21 19:37:08 -07:00
batgrep.sh batgrep: handle -u flag to ripgrep 2022-07-21 19:35:55 -07:00
batman.sh batman: Fix error when using fzf to pick manpages 2022-07-21 19:37:56 -07:00
batpipe.sh batpipe: Fix colors not showing up inside less 2021-08-21 16:19:17 -07:00
batwatch.sh batwatch: Buffer to reduce flickering from redraw 2021-08-11 01:15:46 -07:00
prettybat.sh prettybat: Add support for SVG formatting using prettier 2021-04-06 15:57:54 -07:00