UREAD(1)
๐ UREAD(1) โ the manual page, but make it make sense ๐
okay so bestie, welcome to the UREAD glow-up. It's a General Commands Manual girlie and she is so here to help you peek inside your Fortran files. โจ
๐ธ NAME ๐ธ
uread โ reads a Fortran unformatted file ๐
๐ SYNOPSIS ๐
uread [ -x ] [ filename ]
๐ฆ DESCRIPTION ๐ฆ
uread reads a file that was created with Fortran's unformatted IO. For every record it finds, it prints the size of that record in bytes straight to your screen, and then it throws out its best guesses about what sort of data might be hiding inside that record. She's basically a psychic but for bytes. ๐ฎ
Here's the vibe check on those guesses:
*2โinteger*2,logical*2data*4โinteger,logical,realdata*8โinteger*8,real*8,double precision,complexdata*16โreal*16,extended precision,double complexdata
Also, when data gets marked with char, that means it contains only writable ASCII characters and white space โ so like, it's probably character data. Not a drill, just characters. ๐
The -x option tells uread to byte swap the input record data. That lets you examine big endian data on a little endian machine, and vice versa. Iconic. It's giving "translator for endian girlies". ๐ฅ
You can drop the file name right there on the command line. If you don't, the data gets read in from the standard input. Either way, she's eating. ๐
โจ OPTIONS โจ
-xโ byte swaps the input record data, so you can look at big endian data on a little endian machine, and vis versa. ๐
๐ NOTE ๐
If you ever see this error message:
uread: data larger than file length
...then don't panic, bestie, it often means the file you're reading has the opposite byte "sex" to the platform you're running uread on. Try the -x flag and see if that's the case. Like, it's lowkey a compatibility moment, not a crisis. ๐ซถ
๐ SEE ALSO ๐
๐ AUTHOR ๐
S.E. Norris s.norris@auckland.ac.nz
and that's the whole page, bestie โ she lives in the General Commands Manual, authored with love by S.E. Norris, and yes we're still stanning. periodt. ๐โจ๐
๐ฆ where this page comes from
- fedora 43: uread 0-0.35.20081006.fc43 ยท GPL-1.0-or-later
- fedora 44: uread 0-0.36.20081006.fc44 ยท GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms