[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] mhstore overwriting files
From: |
rader |
Subject: |
Re: [Nmh-workers] mhstore overwriting files |
Date: |
Tue, 11 Sep 2012 12:16:42 -0500 |
> From: Lyndon Nerenberg <address@hidden>
>
>
> 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.
Sounds good, better then parens, to me.
steve
--
- Re: [Nmh-workers] mhstore overwriting files, (continued)
Re: [Nmh-workers] mhstore overwriting files, Paul Fox, 2012/09/11
Re: [Nmh-workers] mhstore overwriting files, David Levine, 2012/09/11
Re: [Nmh-workers] mhstore overwriting files, David Levine, 2012/09/11