---
name: "unstack"
section: "3trf"
platform: "linux"
package: "tcl-trf-doc"
version: "2.1.4-dfsg3-8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/unstack"
---

# unstack(3trf)

Unstacking channels

## NAME

unstack - Unstacking channels

## SYNOPSIS

package require **Tcl  ?8.2?**

package require **Trf  ?2.1.3?**

**unstack** *channel*

## DESCRIPTION

The command **unstack** is an interface to the public Tcl API function **TclUnstackChannel**. It unstacks the topmost transformation from the specified channel if there is any.

- **unstack** *channel*

  Removes the topmost transformation from the specified *channel*. If the *channel* has no transformation associated with it it will be closed. In other words, in this situation the command is equivalent to **close**.

## SEE ALSO

trf-intro

## KEYWORDS

removal, transformation, unstacking

## COPYRIGHT

```
Copyright (c) 1996-2003, Andreas Kupries <andreas_kupries@users.sourceforge.net>
```
