Comment by Kamil Maciorowski on rstrip On Lines of text being piped through...
Does this answer your question? Why there are so many regular expression variants?
View ArticleComment by Kamil Maciorowski on Why there are so many regular expression...
-r is not portable, -E is.
View ArticleComment by Kamil Maciorowski on Putty history access weird behavior
The history has nothing to do with PuTTY, the program is probably not to blame. Is the shell Bash? What is the output of declare -p PS1? Does this help? coloring bash prompt will break carriage return
View ArticleComment by Kamil Maciorowski on rename files recursively by adding a string...
(1) What rename is this? There are few and for each one there may be a setup where it is named rename. (2) Does your find support -execdir?
View ArticleComment by Kamil Maciorowski on Bash prompt with zero width control characters
I fail to see how this answer explains the behavior observed by the OP. There is no explicit question in the "question". Maybe your answer answers some implicit question. If so, what question is it? If...
View ArticleComment by Kamil Maciorowski on Bash prompt with zero width control characters
Are you sure you did not add \[ and \] inside an already existing \[\] pair? What is the output of declare -p PS1?
View ArticleAnswer by Kamil Maciorowski for How to start tmux as the default when...
I think a shell in a terminal in Dolphin will see /proc/$PPID/exe as a symlink to /usr/bin/dolphin or so. Instead of xdotool, use realpath /proc/$PPID/exe and build your logic on the result.$PPID is...
View ArticleComment by Kamil Maciorowski on Installing Windows 11 with UEFI Firmware and...
Explanation from a developer of Rufus.
View ArticleComment by Kamil Maciorowski on My app is being killed
(1) MacOS is not Linux. Why the linux tag? (2) Check memory consumption.
View ArticleComment by Kamil Maciorowski on Linux - What causes processes to block aka...
Please [edit] and add information to the question. All relevant information should be in the body of the question.
View ArticleAnswer by Kamil Maciorowski for How to "find" while following specific...
The last sentence of the question suggests the problem is not with following symlinks in general (and e.g. applying -newer to the symlink in one case, while to the target in another case), but with...
View ArticleComment by Kamil Maciorowski on How to view a folder with the name of "."?
unix.stackexchange.com/q/767259/108618
View ArticleComment by Kamil Maciorowski on How to view a folder with the name of "."?
@JW0914 IMO $ pwd and $pwd may both look like literal commands (or output) for someone who don't know the concept of the prompt. For someone who expects a prompt, they are both pretty clearly a...
View ArticleComment by Kamil Maciorowski on rsync doesn't follow the exclude-from list of...
What is the output of file exclude? Does it mention CRLF?
View ArticleComment by Kamil Maciorowski on How to wait until a Batch file operation has...
A good OS should buffer these writes.
View ArticleComment by Kamil Maciorowski on Exclude all folders containing "discarded"...
What is your shell? It certainly treats * specially; it possibly treats ! specially. Single-quote the argument.
View ArticleComment by Kamil Maciorowski on Who sets the dot permission in ls -l output...
Please do not cross-post. For the record, the other copy is on Unix & Linux SE.
View ArticleComment by Kamil Maciorowski on execute command after switch to different...
(1) "that is asking me for the current user's password" – Do you want to be asked dp-postgres's password? or to be allowed without any password? (2) "and then after execute any command" – Do you mean...
View ArticleComment by Kamil Maciorowski on rename files recursively by adding a string...
(1) What rename is this? There are few and for each one there may be a setup where it is named rename. (2) Does your find support -execdir?
View ArticleComment by Kamil Maciorowski on Why is an incorrect size reported on...
What is the output of ls -l /dev/sdb*?
View Article