HGET(1)

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

HGET(1) πŸ’…

okay so this is the General Commands Manual, section 1, and the main character is hget β€” bestie, we're retrieving a web page, no cap.

πŸ’– NAME πŸ’–

hget β€” retrieve a web page corresponding to a url.

✨ SYNOPSIS ✨

here's the whole shape, periodt:

hget [ -dhv ][ -o ofile ][ -p body ][ -x netmntpt ] url

πŸ¦‹ DESCRIPTION πŸ¦‹

hget retrieves the web page specified by the URL url and writes it β€” absent the -o option β€” to standard output. The only supported URL type is http. iykyk. πŸ’…

  • -p body β€” if url is of type HTTP and this option is specified, then an HTTP POST is performed with body as the data to be posted. πŸ’Œ
  • -o ofile β€” used to keep a local file in sync with a web page. If the web page has been modified later than the file, it is copied into the file. If the file is up to date but incomplete, hget will fetch the missing bytes. Obsessed with a tidy sync.
  • -h β€” causes HTTP headers to be printed to standard output in addition to the transferred web page.
  • -d β€” turns on debugging written to standard error.
  • -x netmntpt β€” normally, hget uses the IP stack mounted under /net; this option can be used to specify the mount point of a different IP stack to use. Vibe check your mount point. πŸ›°οΈ
  • -v β€” writes progress lines to standard output once a second. Each line contains two numbers, the bytes transferred so far and the total length to be transferred. Progress bar energy, but make it text.

If the environment variable httpproxy is set, it is used as a URL denoting an HTTP proxy server. All HTTP accesses use this server to get the page instead of calling the destination server. Proxy main character energy, fr fr. 🌈

πŸŽ€ SOURCE πŸŽ€

/src/cmd/hget.c β€” that's the source file, bestie. 🫢


okay bye bestie πŸ’… β€” that's HGET(1) from the General Commands Manual, section 1, source file /src/cmd/hget.c. No version or date showed up in the footer, so take this cute sign-off instead βœ¨πŸ¦‹