[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] Filename Nch-cs-hymn.t2tt and nch-cs-Hymn.t2tt treated as th
From: |
Barrie Stott |
Subject: |
[Help-bash] Filename Nch-cs-hymn.t2tt and nch-cs-Hymn.t2tt treated as the same |
Date: |
Fri, 14 Feb 2014 13:17:34 +0000 |
Look at the following lines:
gbs:nch $ ls -l *.t2tt
-rw-r--r-- 1 gbs staff 3580 14 Feb 11:32 Nch-cs-hymn-author.t2tt
gbs:nch $ touch nch-cs-Hymn-author.t2tt
gbs:nch $ ls -l *.t2tt
-rw-r--r-- 1 gbs staff 3580 14 Feb 12:34 Nch-cs-hymn-author.t2tt
gbs:nch $
This is a small example that exhibits my problem.
1. The time of Nch-cs-hymn-author.t2tt in the 1st 'ls -l' is 11:32.
2. I touch nch-cs-Hymn-author.t2tt that the 1st 'ls -l' says doesn't exist.
3. Nothing says there is an error so I accept it.
4. I expect 2 files to be listed by the 2nd 'ls -l' but get the same file whose
time has
increased by about an hour.
It appears to me that bash thinks that the 2 files are the same so am I wrong
in thinking the filenames refer to different files.
I am running OS X 10.6.8 and the bash version is shown below.
gbs:nch $ bash --version
GNU bash, version 4.2.45(2)-release (i386-apple-darwin10.8.0)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Barrie.
- [Help-bash] Filename Nch-cs-hymn.t2tt and nch-cs-Hymn.t2tt treated as the same,
Barrie Stott <=