Find the answer to your Linux question:
Results 1 to 4 of 4
nocaseglob on I have set it with shopt -s nocaseglob And for example "ls /ROOT" does not work still Any idea why nocaseglob does not work or does not help? ...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    7

    BASH nocaseglob does not work

    nocaseglob on

    I have set it with shopt -s nocaseglob

    And for example "ls /ROOT" does not work still

    Any idea why nocaseglob does not work or does not help?

    Thanks guys

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    7
    Thank you for that.

    This is still not what I'm looking for though

    I guess I need a way to enable 100% case-insensitivity within BASH.

    So if I use a bash script to determine if /ROOT exists it will still find it and if I type /ls ROOT it will still find /root

    Is there a way to do this?

    Thanks!

  4. #4
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Not that I know of, why would you want to do this anyways?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...