1

Grep

view story
linux-howto

http://www.unix.com – Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: find out lines in a given file consisting of the following pattern BCAA, BCAAA, BCAAAA, BCAAAAA, BCAAAAAA 2. Relevant commands, code, scripts, algorithms: Code: grep BC(A)\{2,6} filename 3. The attempts at a solution (include all code and scripts): bash: syntax error near unexpected token `(' 4. Complete Name of School (University), City (State), Country, Name of Professor, and Course (HowTos)