ant:/home/vbe $ grep ^[^ # \/* \//] greptest
grep: [] imbalance.
ant:/home/vbe $ more greptest
1. The problem statement, all variables and given/known data: How do you locate
all
nonblank lines that don't begin with #, /*, or //
# 1
/* 2
// 3
Ha *
plpl *
* a
/ b
/# c
ant:/home/vbe $ grep ^[^#\/*\//] greptest
1. The problem statement, all variables and given/known data: How do you locate all
nonblank lines that don't begin with #, /*, or //
Ha *
plpl *