http://qs321.pair.com?node_id=74701


in reply to GREP Question

This isn't a perl question, but this will work: grep /\[1\]/ filename