On Wed, Aug 15, 2018 at 9:14 AM Junio C Hamano [off-list ref] wrote:
Matthew DeVore [off-list ref] writes:
quoted
Thank you. I changed it to this:
awk -e "/tree|blob/{print \$1}" objs >trees_and_blobs
The "-e" option does not appear in
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html
and I think you can safely drop it from your command line.
Fixed it, thank you. It will be in the next patchset version.
If no -f option is specified, the first operand to awk shall be the
text of the awk program. The application shall supply the program
operand as a single argument to awk. If the text does not end in a
<newline>, awk shall interpret the text as if it did.