nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] A suggestion for mh-alias.man

2017-03-20 12:54:17
Hi Larry,

(I have no idea to what "In match, a trailing "*" on an alias will
match just about anything appropriate." applies. I actually don't know
what it means, either.)

I've not used it before.

    $ printf 'foo*: bar\n' | ali -alias /dev/stdin -list
    foo*: bar
    $ printf 'foo*: bar\n' | ali -alias /dev/stdin fee foo fooxyzzy FOOBAR
    fee
    bar
    bar
    bar
    $

In perusing the source and spotting the case-insensitiveness of that
last FOOBAR example, I realised

    $ printf 'f^o: bar\n' | ali -alias /dev/stdin foo f~o
    foo
    bar
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>