Skip to main content

Questions tagged [case-sensitivity]

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 ...
Danae Stephens's user avatar
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' <(...
Jonathan Komar's user avatar
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?
Ray Andrews's user avatar
  • 2,615
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-...
leeand00's user avatar
  • 4,949
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 ...
ecjb's user avatar
  • 495
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&...
WillO's user avatar
  • 117
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 ...
tpimh's user avatar
  • 377
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 ...
spaceKelan's user avatar
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 ...
Daniel's user avatar
  • 798
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 ...
Stephen Harris's user avatar
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,...
Glutexo's user avatar
  • 171
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 ...
Harald's user avatar
  • 1,040
-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 ...
user avatar
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 ...
George Do.'s user avatar
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*...
gatorback's user avatar
  • 1,532

15 30 50 per page
1
2 3 4 5