Web lists-archives.com

Re: [PATCH 1/5] t1700-split-index: drop unnecessary 'grep'

On Thu, Sep 6, 2018 at 4:48 AM SZEDER Gábor <szeder.dev@xxxxxxxxx> wrote:
> The test 'disable split index' in 't1700-split-index.sh' runs the
> following pipeline:
>   cmd | grep <pattern> | sed s///
> Drop that 'grep' from the pipeline, and let 'sed' take over its
> duties.

Years of using sed and I never realized -n could simplify this
pattern. Thank you.