Notepad++ newline in regex

Notepad++ can do that comfortably, you don’t even need regexes In the find dialogue box look in the bottom left and switch your search mode to Extended which allows \n etc. As odds on you’re working on a file in windows format you’ll be looking for \r\n (carriage return, newline) a\r\nb\r\nc Will find the pattern … Read more

ls: terminated by signal 13 when using xargs

I ran across a similar issue and found this thread on search for an answer: Signal 13 means something is written to a pipe where nothing is read from anymore (e.g. see http://people.cs.pitt.edu/~alanjawi/cs449/code/shell/UnixSignals.htm ). The point here is that the ls command as executed by xargs is still writing output when the following head command … Read more

find . -type f -exec chmod 644 {} ;

Piping to xargs is a dirty way of doing that which can be done inside of find. find . -type d -exec chmod 0755 {} \; find . -type f -exec chmod 0644 {} \; You can be even more controlling with other options, such as: find . -type d -user harry -exec chown daisy … Read more

Notepad++ find in files filter EXCLUDE

Note, as of December 5th, 2019, Notepad++ 7.8.2 now supports exclude filters. The help documentation describes exclude filters in the Find in Files tab section. For example to exclude exe, zip and jar files, your ‘find in files’ filter will look like this; *.* !*.exe !*.zip !*.jar Relevant code change in the GitHub commit.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)