P(1)

πŸ“¦
version 0_git20260208 Β· 3 versions
, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

πŸŽ€ p β€” paginate πŸŽ€

okay bestie, welcome to the General Commands Manual, section 1 β€” this is literally the page for p, and it is giving β€œtiny but useful” energy. 🫢

✨ NAME ✨

p β€” paginate.

🌸 SYNOPSIS 🌸

p [ -number ] [ file ...  ]

πŸ’– DESCRIPTION πŸ’–

okay so P copies its standard input β€” or the named files if you gave them β€” straight to its standard output. It stops at the end of every 22nd line, and it also stops between files, to wait for a newline from the user. The option sets the number of lines on a page. No cap. πŸ’…

While waiting for a newline, p interprets these commands:

  • ! β€” Pass the rest of the line to the shell as a command.
  • q β€” Quit.

πŸ¦‹ SOURCE πŸ¦‹

/src/cmd/p.c


okay bye bestie πŸ«ΆπŸ’– β€” the source is /src/cmd/p.c, this page lives in the General Commands Manual, section 1, and there’s no version or date line listed on the page, so that’s the whole footer vibe. periodt ✨πŸ’