Processing Semi-Structured Data in the Unix Shell(weaselhat.com)
weaselhat.com
Processing Semi-Structured Data in the Unix Shell
http://www.weaselhat.com/2021/06/29/processing-semi-structured-data-in-the-unix-shell/
4 comments
How does it distinguish between the Boolean value false and the string "false"?
According to https://mgree.github.io/ffs/ffs.1.html, it tries to autodetect the type (so false will default to a boolean) but you can explicitly specify the type via extended attributes.
Good question. From the man page, looks like boolean values map to a file with contents either 'true' or 'false', while NULL values map to empty files.
Very interesting though it’s just reinventing the database wheel