
A cat(1) clone with syntax highlighting and Git integration.
cat과 유사하지만 줄넘버와 문법 하이라이팅, 페이징 기능이 포함된 프로그램입니다.
alias를 추가하여 cat 대신 사용할 수 있습니다.
1alias cat='bat'-p 옵션을 사용하면 기존 cat과 동일하게 출력되므로 복사할 때 사용하면 됩니다.
공식설치문서 바로가기
1# macOS
2brew install bat1bat xxxx.md옵션
| name | description |
|---|---|
| -p | plain 출력 |