#!/usr/bin/perl $_ = ; s/\[[^\]]*\]//g; print;