---
name: "MBK_OUT_FILTER"
section: "1"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MBK_OUT_FILTER"
---

# MBK\_OUT\_FILTER(1)

define the input filter

## NAME

MBK\_OUT\_FILTER - define the input filter

## DESCRIPTION

**MBK\_OUT\_FILTER** sets the output filter for writting compressed Alliance files. Filter is typically a string containing filename and options. This filter must read non compressed data flow on it standard input and write compressed data flow on it standard output. If a non compressed version of a file exist in the same target directory the designer want the save a file's compressed version, to ensure that file will be read later and not the non compressed one, the non compressed file is DELETED.  To activate filters, variable MBK\_FILTER\_SFX must be set.

## EXAMPLE

```
Writing compressed files with gzip :
	setenv MBK_OUT_FILTER "/asim/gnu/bin/gzip -c"
	setenv MBK_FILTER_SFX ".gz"
```

## SEE ALSO

[**mbk**(3)](/mbk/3.md), [**MBK\_FILTER\_SFX**(1)](/MBK_FILTER_SFX/1.md), [**MBK\_IN\_FILTER**(1)](/MBK_IN_FILTER/1.md), **mbkenv**(1).
