NOP(1)

πŸ“¦
version 16.1.0 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

πŸ’… NOP(1) β€” it's giving "General Commands Manual" ✨

okay so bestie, meet nop β€” a lil command from section 1 of the general commands manual, and no, it is not a "do nothing" joke, I promise πŸŽ€


🌸 NAME 🌸

nop β€” pretty-print graph file πŸ’–


✨ SYNOPSIS ✨

nop [ -p? ] [ files ]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: nop reads a whole stream of graphs, and then it prints each one back out in pretty-printed (canonical) format on stdout. it's a glow-up, basically β€” your graphs go in messy and come out iconic ✨

and if you don't hand it any files? no worries, it just reads from stdin. lowkey the most chill input handling ever 🫢


πŸ’… OPTIONS πŸ’…

the following options are supported, and there are literally only two of them, so you have zero excuse:

  • -p β€” produces no output β€” it just checks the input to make sure it's valid DOT. it's the vibe check option πŸ’€ you get nothing back except the truth.
  • -? β€” prints usage information. the "bestie what do I even type" option πŸ™ˆ

πŸ‘‘ EXIT STATUS πŸ‘‘

so like, if any errors happened while processing any input β€” think: a file not found, or a file containing illegal DOT β€” then EXIT_FAILURE is returned. 😭

otherwise, EXIT_SUCCESS is returned. periodt. πŸ’–


🌈 SEE ALSO 🌈

go be nosy, these are all your new besties:


fr fr, that's the whole page. no cap, that's it. 🧚

and that's a wrap on 21 March 2001 β€” the date this whole iconic little manual page was written, from the General Commands Manual, section 1. slay, stay pretty-printed, and drink some water πŸ’œπŸ“

πŸ“¦ where this page comes from