mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 5c457169a54dcb6d4d6346ffe55e244cbae364bf
parent 3b97f3794e2589a93aa4aa7a503cbb6855edd462
Author: Duncaen <mail@duncano.de>
Date:   Fri, 26 May 2017 15:37:54 +0200

mless: replace grep -m1 with sed for portability

Diffstat:
mless | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mless b/mless @@ -81,7 +81,7 @@ while :; do nu=$(magrep -v -m1 :S .:) && mseq -C "$nu" ;; 107) # k next thread - mseq -C "$(mseq .+1: | grep -m1 '^[^ <]')" + mseq -C "$(mseq .+1: | sed -n '/^[^ <]/{p;q;}')" ;; 100) # d mark read mflag -S .