[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash conditional expressions
From: |
Chet Ramey |
Subject: |
Re: bash conditional expressions |
Date: |
Wed, 17 Nov 2021 09:09:36 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 11/17/21 5:16 AM, Michael J. Baars wrote:
>> Why do you think `touch -am', which sets the atime and mtime to the same
>> value, should make -N true?
>
> When -N stands for NEW
It doesn't, though. It could just as easily be a mnemonic for "new activity
in the file." You're using it to mean `new' because it's convenient for
your application, or the mental model you have for it, but that's just an
invention.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: bash conditional expressions, (continued)