Ralph Corderoy wrote:
I think I see what that's doing.
Here's a shorter equivalent, hopefully. :-)
#! /usr/local/bin/dash
test $# -eq 0 && set cur
case "$(folder -fast)" in
lists|obsd|nmh) g=-group;;
*) g=;;
esac
exec /usr/local/bin/repl $g "$@"
Thanks Ralph - TMTOWTDI! _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [Nmh-workers] changes to mark.man, Ralph Corderoy |
|---|---|
| Next by Date: | Re: [Nmh-workers] changes to mark.man, Robert Elz |
| Previous by Thread: | Re: [Nmh-workers] changes to mark.man, Ralph Corderoy |
| Next by Thread: | Re: [Nmh-workers] changes to mark.man, Robert Elz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |