Hi kre,
case "$#" in 0) set -- cur;; esac
If this is bash(1) then (($#)) || set cur also works. ((...)) is arithmetic evaluation. -- Cheers, Ralph.
Previous by Date: | Re: format and output all received: lines in an e-mail message, Greg Minshall |
---|---|
Previous by Thread: | Re: format and output all received: lines in an e-mail message, Greg Minshall |
Next by Thread: | Re: format and output all received: lines in an e-mail message, Paul Fox |
Indexes: | [Date] [Thread] [Top] [All Lists] |