On 2012-09-11, at 7:45 AM, Michael Richardson wrote:

> yeah, but can we not use ()?  They really suck if you actually have to 
> \(-type them rather than shell complete them.
> (And if you have fu.gif and fu(, you have to type the (...)

Parens can cause problems with shell globbing as well, and should be avoided.  
I prefer:

  foo           -> foo-1 || foo-2 || foo-3 ... foo-999 etc.
  foo.bar       -> foo-1.bar
  foo.bar.baz   -> foo.bar-1.baz

If foo-1 is an existing valid file you get foo-2 instead of foo-1-1, but it's a 
rare enough occurrence that it's not worth worrying about.

--lyndon


_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to