if exists bat; then batcmd=bat elif exists batcat; then batcmd=batcat else exit 127 fi "$batcmd" \ --color always \ --style plain \ --paging never \ --terminal-width "$w" \ --wrap character \ -- "$f"