MBK_OUT_FILTER(1)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ¦‹ NAME πŸ¦‹

MBK_OUT_FILTER β€” define the input filter

okay bestie so yes, the NAME line literally says input filter and this whole page is about the output filter. we are simply reporting the lore as it was written. moving on πŸ’…


🌸 ORIGIN 🌸

this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. iconic academic lineage honestly πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

MBK_OUT_FILTER sets the output filter used when writing compressed Alliance files. the filter is typically a string containing a filename and options, fr fr. πŸ“¦

here's the vibe check on how the filter has to behave: it must read the non compressed data flow on its standard input, and write the compressed data flow on its standard output. that's the whole deal, no cap. 🌈

🚨 okay this is the part where you actually pay attention. if a non compressed version of a file already exists in the same target directory, and the designer wants to save a compressed version of that file, then β€” to make sure the file that gets read later is the compressed one and not the non compressed one β€” the non compressed file is DELETED. like, gone gone. πŸ’€ so be aware of that before you go turning filters on.

and to actually activate filters at all, the variable MBK_FILTER_SFX must be set. no MBK_FILTER_SFX, no filter energy. periodt. ✨


πŸŽ€ EXAMPLE πŸŽ€

writing compressed files with gzip :

setenv MBK_OUT_FILTER "/asim/gnu/bin/gzip -c"
setenv MBK_FILTER_SFX ".gz"

look at her go 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

mbk(3), MBK_FILTER_SFX(1), MBK_IN_FILTER(1), mbkenv(1).

go read those too, they're the friend group, iykyk πŸ’œ


πŸ’€ BUG REPORT πŸ’€

this tool is under development at the ASIM department of the LIP6 laboratory.

we need your feedback to improve documentation and tools. like genuinely, slide into the inbox, your girl is asking nicely πŸ™ˆ


anyway that's the whole page bestie. it's from ASIM/LIP6, dated October 1, 1999 β€” yeah she's an elder but she still slays 🧚 mwah, go compress responsibly πŸ’–