MBK_OUT_FILTER(1)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

🌸 MBK_OUT_FILTER(1) β€” bestie, it’s giving filter vibes 🌸

Okay so this is MBK_OUT_FILTER(1), straight from the MBK ENVIRONMENT VARIABLES manual, and we’re about to make environment-variable lore make sense. 🫢


✨ NAME ✨

MBK_OUT_FILTER β€” define the input filter. Yes, that’s the exact NAME wording, bestie β€” the DESCRIPTION is where the output-filter business shows up. Keep both in your brain, no cap. πŸ’…


🧚 ORIGIN 🧚

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. Periodt. πŸ‡«πŸ‡·βœ¨


πŸ”₯ DESCRIPTION πŸ”₯

MBK_OUT_FILTER sets the output filter for writing compressed Alliance files. The filter is typically a string containing filename and options. πŸŽ€

This filter must read the non compressed data flow on its standard input and write the compressed data flow on its standard output. Literally its whole main character job. πŸ’«

Now for the dramatic part: if a non compressed version of a file exists in the same target directory and the designer wants to save a file’s compressed version, then β€” to ensure that file will be read later and not the non compressed one β€” the non compressed file is DELETED. Not me being loud about it; that’s just the rule. πŸ˜­πŸ’€

To activate filters, variable MBK_FILTER_SFX must be set. No set, no filter party. πŸͺ©


πŸ¦‹ EXAMPLE πŸ¦‹

Writing compressed files with gzip, iconic behavior:

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

Exact commands, exact strings, exact little environment-variable slay. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

iykyk β€” go read the whole friend group. 🌈⭐


πŸ“ BUG REPORT πŸ“

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

We need your feedback to improve documentation and tools.

Fr fr, they’re asking nicely β€” send the feedback, help the docs eat. πŸ«ΆπŸ’Œ


xoxo, ASIM/LIP6 β€” October 1, 1999 β€” signing off from page MBK_OUT_FILTER(1) πŸ’‹πŸŽ€

πŸ“¦ where this page comes from