Questions tagged [case-sensitivity]
The case-sensitivity tag has no summary.
72 questions
1
vote
0
answers
73
views
rename "Duplicate specification" for option error
The other day something started going wrong with the perl rename terminal command that was pre-installed on my system; which is Ubuntu 22.04.5 LTS. When I try to use any version of the rename command ...
1
vote
3
answers
154
views
Why does this Perl Regex one-liner not respect the \U escape sequence?
Why does this Perl Regex one-liner not make the full result upper case using the \U modifier?
I expect MY_NICE_WORD.
$ perl -pe 's/(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])/\U$1_$2\E/g' <(...
2
votes
1
answer
94
views
Can we make an aptitude search case-sensitive?
In a script:
aptitude search "?description($1)"
... can that be made case-sensitive?
4
votes
0
answers
502
views
What causes tmux search to be case insensitive or casesensitive?
When I run a search in the copy paste mode of tmux sometimes it's case insensitive and other times it isn't.
I think I know what I do, but I don't understand what causes the search to be case-...
0
votes
1
answer
168
views
Display the results in an alphabetical order, independently of their case [duplicate]
I am using ls on MacOS 11.6.1. In the output, the Upper cases are displayed before the lower case. For example, I get the following output:
$ ls
Blabla.txt
GAGAS.txt
asdf.txt
blabla.txt
and would ...
2
votes
2
answers
5k
views
case insensitivity with sed search
In a unix script, I have the line
sed -i "/$1/s/a/b" filename
This finds lines containing the string $1 (which is given to the script as a parameter) and, in those lines, replaces "a&...
0
votes
0
answers
423
views
Is building the Linux kernel on a case-insensitive filesystem possible?
Linux kernel source has some overlapping filenames which would collapse when put on a case insensitive filesystem. Here is the list as of 6.4.7:
in include/uapi/linux/netfilter/:
xt_CONNMARK.h and ...
5
votes
2
answers
2k
views
How can I turn off git bash for Windows case-insensitive behavior?
I use the Git Bash on Windows for numerous bash tasks exceeding the Git use. It works well over years, but I cannot turn of the case-insensitive behavior. Auto-complete is cumbersome this way.
I tried ...
7
votes
3
answers
3k
views
How to change the casefold ext4 filesystem option of the root partition, if I only have ssh access
I need to enable the case insensitive filesystem feature (casefold) on ext4 of a Debian 11 server with a backported 6.1 linux kernel with the required options compiled in.
The server has a swap ...
0
votes
1
answer
304
views
Can you emulate Windows filesystem case semantics with ntfs-3g?
With NTFS on a Windows machine if you create a directory "ABC" and then try to create a directory "abc" it will be rejected because Windows considers it the same name.
Now on Linux ...
3
votes
1
answer
1k
views
Are systemd directive names case sensitive?
systemd directives used in the unit files are in the documentation listed using mixed case like UMask or AccuracySec. Is it actually necessary to follow this exact wording, or is it just good practice,...
8
votes
1
answer
723
views
Configuration or command for case insensitive bash history search
Bash provides the interactive commands forward-search-history and reverse-search-history typically bound to the keys CTRL-s and CTRL-r respectively.
Are there case-insentive equivalents or is there a ...
-1
votes
1
answer
205
views
Using mogrify - case insensitive file search [duplicate]
I use mogrify as such:
mogrify -monitor -quality 80 -resize 1200 *JPG
However, this only matches files ending in .JPG. How do I include .jpg files at the same time (in other words, how to make the ...
8
votes
1
answer
9k
views
Case-insensitive completion in bash
I have a folder ~/TestFolder. The current working directory is the home directory(~).
I want to enter a partial command, for example cd test, and I want it auto filled to give the command cd ...
2
votes
1
answer
1k
views
zsh case-insensitive globbing
Context: macOS Catalina (zsh)
This script is to process all JPEG files. This script does not process .JPG files, however it does process .jpg files.
top=/Users/user/Desktop/
for file in $top/**/*.jp*...