NG(1)

πŸ’– NG(1) β€” the manual page, but make it cute πŸ’–

okay bestie so this is a page from the General Commands Manual (that's the NG(1) section, iykyk) and it's literally all about ng. grab a boba, we're doing this πŸ’…


✨ NAME ✨

ng β€” a small, lightweight, Emacs-like editor. tiny king behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

ng [options] files...

πŸ¦‹ DESCRIPTION πŸ¦‹

so ng stands for Nihongo Mg, which is short for MicroGnuEmacs. the name is telling you it's the Japanized version of Mg πŸŽ€

it can handle ASCII, ISO-2022-JP, Shift-JIS, and EUC-JP, plus EUC-KR and EUC-CN (that's GB and CNS for the CJK girlies), while Latin is also supported πŸ’œ

okay but listen β€” be aware: these CJK support and Latin support are exclusive. you get one vibe, not both. no cap 😭

and here's the tea: ng is just a wrapper script ✨ it calls either ng-latin, ng-cjk, or ng-cjk-canna depending on the locale-related environmental variable β€” that's LC_ALL and LANG, keep up 🫢

if you wanna override this whole act (main character energy, respect), you can use an environmental variable called NG. set it to whatever you prefer among the ng family. slay 🌈


⭐ OPTIONS ⭐

  • -v β€” show the version of ng. quick little flex πŸ’β€β™€οΈ
  • -c β€” show the version and the built-in features of ng. it's giving receipts πŸ“‹
  • -f command β€” execute the specified command after ng starts. do it immediately, periodt πŸ”₯
  • -I file β€” use the specified file as an init file instead of ~/.ng. choosing your own destiny fr fr πŸ’–
  • + number β€” go to the line specified by number.
⚠️ and bestie, do not insert a space between the + sign and the number. the + and the number are attached at the hip, they're a package deal πŸ’€

πŸŽ€ FILES πŸŽ€

  • /usr/bin/ng-latin β€” Latin-supported binary 🌸
  • /usr/bin/ng-cjk β€” CJK-supported binary πŸ¦‹
  • /usr/bin/ng-cjk-canna β€” CJK & canna-supported binary ✨

πŸ‘‘ VARIABLES πŸ‘‘

  • NG β€” should be set to either ng-latin, ng-cjk or ng-cjk-canna. this value is prior to others. it wins, it's the alpha, the main character πŸ’…
  • LC_ALL β€” prior to LANG. yeah, it pulls rank 🫢
  • LANG β€” these locale-related variables control which ng is to be called. they're the ones doing the matchmaking 😌

πŸ’œ AUTHOR πŸ’œ

this manual page was written by Yasuhiro Take <take@debian.org>, for the Debian GNU/Linux system (but may be used by others). iconic of them, honestly 🫢


okay that's the whole page, no crumbs left 🌈 one last thing β€” this page is from August 31, 2000, so yeah it's a vintage baddie, and it's from the Debian GNU/Linux manual set. bye bestie, go edit something πŸ’–βœ¨πŸŽ€