LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2009, 03:10 PM   #16
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976

Quote:
Originally Posted by crispyleif View Post
In curiousity, I ran over to the neighbour and tested her mac (bash v2.05) and the original command worked fine there.

[[:upper:]] works as a charm ! Thx
env LC_COLLATE=C ls -d [A-Z]* doesn't
Sorry but I don't know how MAC OS manages collation and locales. What is the output of locale on that machine?
 
Old 02-07-2009, 03:32 PM   #17
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 525

Rep: Reputation: 179Reputation: 179
By George I think I've got it!
Obviously, I interpreted the man page to mean that -d gave you a listing of the sub-directories under a directory a la my grep ^d.

Thanks much colucix.

Norm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH : Total directory size xgreen Programming 7 03-04-2013 06:33 AM
Learning how to use Bash Productively bartonski Linux - General 9 11-25-2009 05:24 PM
LXer: Bash Extended Globbing LXer Syndicated Linux News 0 10-09-2008 12:10 PM
Globbing Problem in BASH Hink Programming 2 07-28-2005 01:19 PM
What is the BEST book on learning how to use Bash? Fabyfakid Linux - Newbie 1 08-28-2004 11:59 AM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration