Re: [PATCH v4 6/6] list-objects-filter: implement filter tree:0
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 15, 2018, 16:14 UTC
- Message-ID
- <xmqqva8bk3o4.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAMfpvh+H5UeHmCqeVNZNoOe_-vgH3_3aTuO+c=imgzaVkC6N2g@mail.gmail.com>
Matthew DeVore <matvore@google.com> writes:
> Thank you. I changed it to this:
> awk -e "/tree|blob/{print \$1}" objs >trees_and_blobsThe "-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.