Articles in Category "Administration"

Using VIm’s “Negative Lookahead” to Delete All Lines NOT Containing a Pattern

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 […]

 Thumbnails aus allen Bildern im aktuellen Verzeichnis …

… erstellen und daraus HTML mit einer 3-spaltigen Tabelle machen.

An Introduction to the VI Text Editor

A Google/YouTube Series of Screencasts about VI (classic version).

Postfix “postqueue -p” (print queue) nett formatieren

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”;       }    ‘