allow multiple queries in mfind

This commit is contained in:
Felix Van der Jeugt 2021-03-16 10:53:25 +01:00
parent abf7ffce9d
commit b2702f2de2
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
#!/bin/sh
mdirs /data/mail | mlist | magrep "$@" | msort -d | mseq -S
mdirs /data/mail | mlist | mseq -S
for filter in "$@"; do
magrep "$filter" | mseq -S
done
msort -d | mseq -S
mscan