Skip to content

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
MIT LicenseCopyright © 2026jdx.dev