UPDATE: Please note that „bw1“ has notified me of a much simpler solution than what is described here; please see „Using VIm’s „:v“ Command to Delete All Lines NOT Containing a Pattern„ Some statements have been struck through in the article below because they are false. I want to delete all lines in the current […]
Articles in Category "Administration"
Using VIm’s „Negative Lookahead“ to Delete All Lines NOT Containing a Pattern
7. Januar 2015 in Administration, GNU/Linux, Programmierung, Technik.
GNU find hat keine Option „-older“ …
20. August 2023 in Administration, GNU/Linux.

… aber eine Funktion „-newer“. Die Funktion „-newer“ ist praktisch, um absolute Zeitangaben zum Aufspüren von Dateien zu verwenden. So würde touch -d „2010/1/1″ /tmp/test.newer find . -type f -a -name ‚core.*‘ -a -newer /tmp/test.newer alle regulären Dateien mit „core.“ als Anfang des Dateinamens finden, die neuer sind als der 1. Januar 2010, 00:00 Uhr. […]
Thumbnails aus allen Bildern im aktuellen Verzeichnis …
27. April 2014 in Administration, GNU/Linux, Multimedia, Programmierung.
An Introduction to the VI Text Editor
16. Juli 2011 in Administration, GNU/Linux, Multimedia, Programmierung.
A Google/YouTube Series of Screencasts about VI (classic version).
Postfix „postqueue -p“ (print queue) nett formatieren
11. Januar 2015 in Administration, Programmierung.
ist ganz einfach: postqueue -p | perl -ne ‚ /^[A-F09]+/&&do{ $a=<>; $b=<>; chomp($_,$a,$b); $a=~s/[\(\)]//g; $b=~s/ //g; $msg=$_.“ to: „.$b.“ message:“.$a; $msg=~s/[\t ]+/ /g; print „$msg\n“; } ‚