[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mhstore overwriting files

From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] mhstore overwriting files
Date: Tue, 11 Sep 2012 10:05:53 -0700

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]