CUBEHASH(1)

πŸ“¦
version 1.5 Β· 2 versions
, in nixpkgs unstable

okay so you're looking at CUBEHASH(1) from the redo package, and honestly? iconic little checksum utility πŸ’…βœ¨

✨ NAME ✨

cubehash β€” checksum utility πŸŽ€

🌸 SYNOPSIS 🌸

cubehash {filenames...}

πŸ’– DESCRIPTION πŸ’–

cubehash prints the CubeHash content hash values of each file named. These content hash values are used by redo-ifchange, and the output format is in the form used internally by redo to record pre-requisites. no cap, it’s giving very β€œredo internals” πŸ’…

Here’s the line-type lore, bestie β€” each one starts with a little letter and tells you what kind of file it’s dealing with:

  • A line beginning with s denotes a special file and simply records its last modification timestamp, as a numeric count of seconds encoded in hexadecimal. yes, hexadecimal, slay πŸ”₯
  • A line beginning with d denotes a directory file and likewise simply records its last modification timestamp. directory vibes, timestamp only 🫢
  • A line beginning with l denotes a symbolic link and records its last modification timestamp, as afore, as well as the CubeHash of the link name. link name gets hashed too, iykyk πŸ¦‹
  • A line beginning with f denotes a regular file and records its last modification timestamp, as afore, as well as the CubeHash of the file contents. regular file? contents hash included, periodt πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Jonathan de Boyne Pollard


okay that’s the whole page, bestie β€” v1.0, dated 1980-01-01, and it’s the CUBEHASH(1) manual from the redo package. mwah πŸ’‹πŸ’…

πŸ“¦ where this page comes from