batman: Remove '-u' flag when calling sed

The `-u` flag is not available on busybox `sed`.
This commit is contained in:
Ethan P. 2024-02-12 01:04:23 -08:00
parent a427f6eeda
commit 82911b5b7b
No known key found for this signature in database
GPG Key ID: 1BA2A0CC7C22B854

View File

@ -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 $?
}