From: Randal L. Schwartz Date: Mon, 30 Jan 2006 06:25:56 GMT Subject: Re: [PATCH] cvsexportcommit: add some examples to the documentation Message-ID: <86slr6i64r.fsf@blue.stonehenge.com> In-Reply-To: <11386015522537-git-send-email-martin@catalyst.net.nz> >>>>> "Martin" == Martin Langhoff writes: Martin> +$ git-cherry cvshead myhead | grep '^+' | sed 's/^+ //' | xargs -l1 git-cvsexportcommit -c -p -v My idiom for that grep/sed would be: ... | sed -n 's/^+ //p' | ... Then the grep is not needed, because you're printing only the ones that you've also modified in a useful way. Yes, I did a heckuva lot more shell programming long before Perl existed. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!