remove_brackets(1) remove delimiters from text


remove_brackets delimiter1 delimiter2


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.


Martin Buck <[email protected]> for Debian GNU/Linux