---
name: "remove_brackets"
section: "1"
platform: "linux"
package: "xviewg"
version: "3.2p1.4-28.1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/remove_brackets"
---

# remove\_brackets(1)

remove delimiters from text

## NAME

remove\_brackets - remove delimiters from text

## SYNOPSIS

**remove\_brackets** *delimiter1 delimiter2*

## DESCRIPTION

*remove\_brackets* is a filter that removes the specified delimiters from the beginning/end of the text sent through it. It reads text from stdin and writes the result to stdout. The delimiters can be arbitrary characters, but things like **{ }**, **( )**, etc. are most common. The delimiters are removed only if both of them match.

Please note that *remove\_brackets* is intended mainly to be run from XView's text menu. It is used in the default **text\_extras\_menu**.

## AUTHOR

Martin Buck \<mbuck@debian.org\> for Debian GNU/Linux

## SEE ALSO

[**xview**(7)](/xview/7.md), [**capitalize**(1)](/capitalize/1.md), [**insert\_brackets**(1)](/insert_brackets/1.md), [**shift\_lines**(1)](/shift_lines/1.md)
