BK-ISASCII(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’– bk isascii β€” check that a file is ascii πŸ’–

okay so this is the bk isascii(none) page from the BitKeeper User’s Manual, and it’s giving β€œtiny utility, huge main character energy” ✨ bestie, we’re checking whether a file is plain ASCII or whether it’s got that binary gremlin vibe going on.

✨ NAME ✨

bk isascii β€” check that a file is ascii πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

bk isascii filename

πŸ’… DESCRIPTION πŸ’…

bk isascii looks through a file for binary data which BitKeeper can not handle without encoding the file. And what counts as binary data here? Literally a NULL (zero byte). That’s the whole vibe check 🫢

πŸ”₯ EXIT STATUS πŸ”₯

bk isascii returns exit status:

  • 0 β€” if filename is ASCII
  • 1 β€” if filename is not ASCII
  • 2 β€” if an error occurs

πŸŽ€ CATEGORY πŸŽ€

Utility


πŸ’– sign-off: BitKeeper Inc, version 1E1, bk isascii(none) β€” and this footer doesn’t list a date, bestie, so no cap. πŸ’–

πŸ“¦ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms