nmh-workers
[Top] [All Lists]

Re: format and output all received: lines in an e-mail message

2019-11-24 04:34:55
Hi kre,

      case "$#" in
      0)      set -- cur;;
      esac

If this is bash(1) then

    (($#)) || set cur

also works.  ((...)) is arithmetic evaluation.

-- 
Cheers, Ralph.


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