I am issuing an ls command to list all files in a directory which contain the
string 'AB' in the filename.
e.g. ls -ltr *AB*
The command returns some results, say, 10 filenames.
However, when I do an unqualified ls command
e.g ls -ltr
and I manually count the filenames containing 'AB' there are 12 files.
All filenames are in uppercase.
(And even when I do:-
ls -ltr *ab*
ls -ltr *Ab*
ls -ltr *aB*
I get no results.)
How can that be ?
OS is AIX, shell is ksh.