ENTRIGRAPH(1)

πŸ’– ENTRIGRAPH πŸ’–

okay bestie, welcome to the General Commands Manual, section 1, page for entrigraph β€” the little glow-up tool that makes your C code ✨fancy✨ by turning it into trigraphs. yes this is real. yes it's a whole thing. let's get into it 🫢


🌸 NAME 🌸

entrigraph β€” convert C source code to use trigraphs πŸ’…


✨ SYNOPSIS ✨

entrigraph [file ...]

that's it. that's the whole vibe. you hand it some files (or don't, no pressure bestie) and it does its thing πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

okay so picture this: this program takes a C program and converts it so that it uses trigraphs. not me explaining trigraphs in the group chat but here we go 🧚

a trigraph is a three character sequence that encodes a single character. a trigraph begins with two question marks β€” literally ??, iconic. then the third character is whatever, and that third character is what decides which single character the trigraph actually means. it's giving secret code energy πŸ”₯

here's the full lineup, no cap, every single one:

  • /' β€” the trigraph means \
  • ( β€” the trigraph means [
  • ) β€” the trigraph means ]
  • < β€” the trigraph means {
  • > β€” the trigraph means }
  • ! β€” the trigraph means |
  • ' β€” the trigraph means ^
  • - β€” the trigraph means ~
  • = β€” the trigraph means /
  • / β€” the trigraph means \

see how the third character is the thing that matters? the way that ??< becomes { and ??> becomes }… chef's kiss, obsessed, periodt πŸ’–


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Lars Wirzenius, liw@iki.fi. king behavior fr fr, thank you for your service 🫢✨


heads up bestie: this page lives in the General Commands Manual (section 1) and its footer is literally just the page title again β€” ENTRIGRAPH(1) β€” no date, no version number, nothing extra. so that's the whole thing πŸ’€

πŸ’– that's a wrap! go convert some C, bestie, and remember: two question marks and a vibe. mwah πŸ’…πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from