Hi, just notice that in previous SuSE, 'ls -al' lists all hidden (dot files) first, followed by files with upper case, and finally files with lower case. In 9.2, the dot and upper case is ignored in sorting. How do I revert to the old behavior? -- Regards, Verdi
On Tue, Mar 29, 2005 at 10:44:54PM +0800, Verdi March wrote:
just notice that in previous SuSE, 'ls -al' lists all hidden (dot files) first, followed by files with upper case, and finally files with lower case.
In 9.2, the dot and upper case is ignored in sorting.
How do I revert to the old behavior?
The last time I noticed this (on Solaris) it was down to the locale setting. Have a look in to this. -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2
On Tue, 2005-03-29 at 22:44 +0800, Verdi March wrote:
Hi,
just notice that in previous SuSE, 'ls -al' lists all hidden (dot files) first, followed by files with upper case, and finally files with lower case.
In 9.2, the dot and upper case is ignored in sorting.
How do I revert to the old behavior?
Add the following to your .bashrc file. export LC_COLLATE=POSIX -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken Schneider wrote:
On Tue, 2005-03-29 at 22:44 +0800, Verdi March wrote:
Hi,
just notice that in previous SuSE, 'ls -al' lists all hidden (dot files) first, followed by files with upper case, and finally files with lower case.
In 9.2, the dot and upper case is ignored in sorting.
How do I revert to the old behavior?
Add the following to your .bashrc file.
export LC_COLLATE=POSIX
It worked! Thanks -- 73 de Donn Washburn Hpage: " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB Email: " n5xwb@hal-pc.org " 307 Savoy St. " n5xwb@arrl.net " Sugar Land, TX 77478 LL# 1.281.242.3256 " http://counter.li.org " #279316
participants (4)
-
David SMITH
-
Donn Washburn
-
Ken Schneider
-
Verdi March