hk util check-byte-order-marker
- Usage:
hk util check-byte-order-marker [-d --diff] <FILES>… - Effect: read-only
Check for UTF-8 byte order marker (BOM)
Arguments
<FILES>…— Files to check
Flags
-d --diff— Output a diff of the BOM removal instead of the file name-h --help— Print help
Examples
Check for a byte order marker without changing the file.
sh
hk util check-byte-order-marker README.mdLearn more
Built-in linters and utilities · Troubleshooting · All commands
