I can’t figure out why the following works from the command line but not
from the backquotes:
echo -e “a\nb\naa” | grep a
This should produce:
However, when I execute:
echo -e "a\\nb\\naa" | grep a
Of course, this is a trivial example, but it represents my real problem
well enough. Writing the text to a temp file and using ‘cat’ isn’t an
Thanks for any help,
This email may contain material confidential to
Pearson. If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.