All Questions
1
question
2
votes
1
answer
950
views
grep misreads pattern from variable
I have a problem with escaped pattern put in grep.
My test file is:
export_cc = ${dir}/aaa/bbb/ccc
export_cc = ${dir}/aaa/bbb/eee
export_cc = ${dir}/aaa/bbb/ddd
export_cc = ${dir}/aaa/bbb/fff
...