Re: [PATCH v4 6/6] list-objects-filter: implement filter tree:0
From: Junio C Hamano <hidden>
Date: 2018-08-15 16:14:40
Matthew DeVore [off-list ref] writes:
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.
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.