The case-sensitivity tag has no wiki summary.
5
votes
1answer
91 views
grep: Ignoring GREP_OPTIONS to search case-sensitive
I have set GREP_OPTIONS="--ignore-case --color" in ~/.bashrc as I normally want grep to work case-insensitive. However, there are times when I need grep to actually search case-sensitive, but the man ...
1
vote
2answers
110 views
`echo -e 'Q\ns\nV' | sort` doesn't sort
Why do :
$ echo -e 'Q\ns\nV' | sort
outputs
Q
s
V
without changing the order of my list (taking in account the lower/uppercase ?)
3
votes
1answer
678 views
bash - how to uppercase the command line argument?
I searched SO and found that to uppercase a string following would work
str="Some string"
echo ${str^^}
But I tried to do a similar thing on a command-line argument, which gave me the following ...
12
votes
5answers
3k views
How to match case insensitive patterns with ls?
I would like to list all files matching a certain pattern while ignoring the case.
For example, I run the following commands:
ls *abc*
I need to see all the file that have "abc" as a part of the ...
5
votes
4answers
888 views
Case-insensitive file system for production server?
The initial situation looks like this:
The corporate software is PHP-based.
It is delivered by Apache 2 on a Windows 2003 Server.
It is big.
It is a legacy of rather unprofessional developers who ...
7
votes
1answer
188 views
Case-preserving search and replace in vim?
In vim, I know I can search with or without case sensitivity. But if I want to search for a string in either upper or lower case, and replace it with a replacement of the same case, is that possible ...
5
votes
2answers
870 views
change entire directory tree to lower-case names
I'm working on a website conversion. The files as they were linked and served from the web server were case insensitive. But, I've made a dump of the site on my linux system and I'm writing scripts to ...