mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-11-07 08:14:02 +01:00
batman: Remove '-u' flag when calling sed
The `-u` flag is not available on busybox `sed`.
This commit is contained in:
parent
a427f6eeda
commit
82911b5b7b
@ -48,7 +48,7 @@ fi
|
||||
|
||||
if [[ "${BATMAN_IS_BEING_MANPAGER:-}" = "yes" ]]; then
|
||||
print_manpage() {
|
||||
sed -u -e 's/\x1B\[[0-9;]*m//g; s/.\x08//g' \
|
||||
sed -e 's/\x1B\[[0-9;]*m//g; s/.\x08//g' \
|
||||
| "$EXECUTABLE_BAT" --language=man "${BAT_ARGS[@]}"
|
||||
exit $?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user