<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Veni, Vidi, VISA - Oneliners</title>
    <link>http://strcat.de/blog/</link>
    <description>Friends come and go, but enemies accumulate.</description>
    <dc:language>de</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />
    <generator>Serendipity 1.6.2 - http://www.s9y.org/</generator>
    <webMaster>zsh-feed@strcat.de</webMaster>
<pubDate>Wed, 23 Jun 2010 13:05:30 GMT</pubDate>

    <image>
        <url>http://strcat.de/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Veni, Vidi, VISA - Oneliners - Friends come and go, but enemies accumulate.</title>
        <link>http://strcat.de/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Eggdrops Partyline mit Irssi</title>
    <link>http://strcat.de/blog/archives/1515-Eggdrops-Partyline-mit-Irssi.html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1515-Eggdrops-Partyline-mit-Irssi.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1515</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1515</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Mental note to self:&lt;pre&gt;/set autocreate_query_level DCCMSGS&lt;br /&gt;
/dcc chat botnick&lt;/pre&gt;Ist wesentlich schmerzfreier als telnet(1) oder das Teil mit &lt;i&gt;/msg&lt;/i&gt; zu steuern. 
    </content:encoded>

    <pubDate>Wed, 23 Jun 2010 14:42:46 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1515-guid.html</guid>
    <category>eggdrop</category>
<category>irssi</category>
<category>partyline</category>

</item>
<item>
    <title>Spam mit Mutt und SpamAssassin verarbeiten</title>
    <link>http://strcat.de/blog/archives/1383-Spam-mit-Mutt-und-SpamAssassin-verarbeiten.html</link>
            <category>Linux/Unix</category>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1383-Spam-mit-Mutt-und-SpamAssassin-verarbeiten.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1383</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1383</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Ich lösche meine Mails bereits auf dem Server mit &lt;a href=&quot;http://mailfilter.sourceforge.net/&quot;&gt;Mailfilter&lt;/a&gt;, aber ab und zu kommt es vor das doch noch einiges an Spam durchkommt. Dieser wird (zu ~99%) mittels &lt;a href=&quot;http://spamassassin.apache.org/&quot;&gt;SpamAssassin&lt;/a&gt; erkannt und mit &lt;i&gt;*****SPAM*****&lt;/i&gt; im Subject gekennzeichnet. Man kann diese zwar dann automatisch löschen oder verschieben lassen (Procmail, Macro, ..), aber ich guck mir lieber erstmal das Subject genauer an, weil ein &lt;a href=&quot;http://www.antispam.de/wiki/FalsePositive&quot;&gt;False Positiv&lt;/a&gt; logischerweise nur bei den wirklich wichtigen Mails auftritt. Egal..&lt;br /&gt;
Die Spam-Mails sind im Subject mit &lt;i&gt;*****SPAM*****&lt;/i&gt; gekennzeichnet und somit kann man das &lt;a href=&quot;http://www.mutt.org/doc/devel/manual.html#tags&quot;&gt;Tag-Feature&lt;/a&gt; von Mutt nutzen. Dazu einfach &lt;b&gt;T&lt;/b&gt; drücken, &lt;b&gt;\*\*\*\*\*SPAM\*\*\*\*\*&lt;/b&gt; eingeben und abschließend &lt;b&gt;;d&lt;/b&gt; drücken um die Mails in den Spamordner zu verfrachten.&lt;br /&gt;
Es sind halt die kleinen Dinge im Leben.. 
    </content:encoded>

    <pubDate>Tue, 31 Mar 2009 19:11:18 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1383-guid.html</guid>
    <category>false positive</category>
<category>mail</category>
<category>mutt</category>
<category>spam</category>
<category>spamassassin</category>
<category>tagging</category>

</item>
<item>
    <title>Regex für Irssi um URLs zu highliten</title>
    <link>http://strcat.de/blog/archives/1381-Regex-fuer-Irssi-um-URLs-zu-highliten.html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1381-Regex-fuer-Irssi-um-URLs-zu-highliten.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1381</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1381</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;pre&gt;    text = &quot;http(s)?://[A-Za-z0-9_/&amp;amp;?=%.;~#)(+-]*&quot;;&lt;br /&gt;
    color = &quot;%G&quot;;&lt;br /&gt;
    act_color = &quot;%n&quot;;&lt;br /&gt;
    nick = &quot;no&quot;;&lt;br /&gt;
    word = &quot;yes&quot;;&lt;br /&gt;
    regexp = &quot;yes&quot;;&lt;/pre&gt;oder ohne die ~/.irssi/config zu editieren:&lt;code&gt;/hilight -word -regexp -color %G -actcolor %n http(s)?://[A-Za-z0-9_/&amp;amp;?=%.;~#)(+-]*&lt;/code&gt;. Erkennt zwar nicht alle URIs, aber wayne.. 
    </content:encoded>

    <pubDate>Mon, 30 Mar 2009 16:48:45 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1381-guid.html</guid>
    <category>highlight</category>
<category>irssi</category>
<category>regex</category>
<category>uris</category>
<category>urls</category>

</item>
<item>
    <title>UTF-8 Zeichen innerhalb GNU Screen nutzen</title>
    <link>http://strcat.de/blog/archives/1379-UTF-8-Zeichen-innerhalb-GNU-Screen-nutzen.html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1379-UTF-8-Zeichen-innerhalb-GNU-Screen-nutzen.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1379</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1379</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;a href=&quot;http://strcat.de/blog/archives/1342-UTF-8-Zeichen-in-Vim-eingeben.html&quot;&gt;In diesem Eintrag&lt;/a&gt; hab ich geschrieben wie man UTF-8 Zeichen in Vim eingibt, aber das geht auch mittels GNU Screen. So kann man z. B. mit Ctrl+a Ctrl+v und die anschließende Eingabe des passenden Digraphs ohne große Umstände UTF-8 Zeichen in Irssi eingeben (oder ein anderes Programm das UTF-8 abarbeiten kann. 
    </content:encoded>

    <pubDate>Fri, 27 Mar 2009 17:34:44 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1379-guid.html</guid>
    <category>digraph</category>
<category>gnu screen</category>
<category>irssi</category>
<category>sonderzeichen</category>
<category>utf-8</category>

</item>
<item>
    <title>Update der Zsh - fortune-cookies </title>
    <link>http://strcat.de/blog/archives/1369-Update-der-Zsh-fortune-cookies.html</link>
            <category>Oneliners</category>
            <category>Zsh</category>
    
    <comments>http://strcat.de/blog/archives/1369-Update-der-Zsh-fortune-cookies.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1369</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1369</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Ich hab vorhin neue fortune-cookies hochgeladen, welche alle Tipps von &lt;a href=&quot;http://strcat.de/zsh/&quot;&gt;http://strcat.de/zsh/&lt;/a&gt; enthalten. Zu finden sind die fortune-cookies unter &lt;a href=&quot;http://www.strcat.de/tmp/zsh-fortunes.tar.gz&quot;&gt;http://www.strcat.de/tmp/zsh-fortunes.tar.gz&lt;/a&gt;. Nach dem Herunterladen können die mit &lt;code&gt;tar -xzf zsh-fortunes.tar.gz&lt;/code&gt; entpackt werden und es wird ein Verzeichnis Namens &lt;i&gt;zsh-fortune&lt;/i&gt; erstellt, in dem zwei Dateien liegen. Zum einen die &lt;b&gt;zsh-fortunes&lt;/b&gt; welches die &quot;Rohdatei&quot; des Cookiefiles ist und zum anderen die &lt;b&gt;zsh-fortunes.dat&lt;/b&gt; welches die eigentliche Datenbank ist, die von fortune(8) gelesen wird. Beide Dateien müssen in ein Verzeichnis kopiert werden und können dann mit &lt;code&gt;fortune zsh-fortunes&lt;/code&gt; angezeigt werden. Nach dem Kopieren die passenden Rechte mit chmod(1) setzen (0644 reicht) und dann sollte ein &lt;code&gt;fortune -f&lt;/code&gt; das neu hinzugekommene Cookie anzeigen. Alternativ dazu kann man fortune(8) direkt das Verzeichnis angeben, in dem die Cookies liegen; also &lt;code&gt;fortune ~/cookies/zsh-fortunes&lt;/code&gt; oder whatever.&lt;br /&gt;
Die Cookies aktualisiere nur unregelmäßig! Neue Tipps/Oneliner werden zuerst hier im Blog und anschließend auf http://strcat.de/zsh/ veröffentlicht (kann aber einige Tage dauern bis letzter aktuell mit dem Blog ist). Ich werd bei Interesse mal ein Script schreiben mit dem man aus der index.html meiner Zsh-Seite automatisch ein Cookie-File für fortune(8) erstellt. Das GIT-Repo der &lt;a href=&quot;http://grml.org/zsh/&quot;&gt;zsh-lovers&lt;/a&gt; von &lt;a href=&quot;http://grml.org/&quot;&gt;grml.org&lt;/a&gt; update ich demnächst wenn ich die zsh-lovers(1) aktualisiert hab. 
    </content:encoded>

    <pubDate>Fri, 13 Mar 2009 03:08:13 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1369-guid.html</guid>
    <category>fortune</category>
<category>fortune cookies</category>
<category>oneliner</category>
<category>strfile</category>
<category>zsh</category>

</item>
<item>
    <title>UTF-8 Zeichen in Vim eingeben</title>
    <link>http://strcat.de/blog/archives/1342-UTF-8-Zeichen-in-Vim-eingeben.html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1342-UTF-8-Zeichen-in-Vim-eingeben.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1342</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1342</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Die Eingabe von UTF-8 Zeichen ist relativ simpel wenn man weiß wie. Zuerst dafür sorgen das Vim &lt;a href=&quot;http://www.vim.org/htmldoc/mbyte.html&quot;&gt;UTF-8&lt;/a&gt; beherrscht. Anschließend kann man sich die Zeichen mit &lt;code&gt;:dig&lt;/code&gt; ansehen. Eingegeben werden sie im &lt;i&gt;Insert-Mode&lt;/i&gt; durch Drücken von CTRL-K + erstenbeidenzeichen. &quot;erstenbeidenzeichen&quot; sind die ersten beiden Zeichen jeder Spalte. So ergibt ein &lt;b&gt;CTRL-K Ye&lt;/b&gt; ein &amp;yen; ein &lt;b&gt;CTRL-K BB&lt;/b&gt; &amp;brvbar; usw. ..&lt;br /&gt;
Alles klar? CTRL-K -o CTRL-K ?I CTRK-K -o 
    </content:encoded>

    <pubDate>Tue, 03 Feb 2009 18:24:57 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1342-guid.html</guid>
    <category>dig</category>
<category>sonderzeichen</category>
<category>utf-8</category>
<category>vim</category>

</item>
<item>
    <title>Perl: Setting locale failed.</title>
    <link>http://strcat.de/blog/archives/1287-Perl-Setting-locale-failed..html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1287-Perl-Setting-locale-failed..html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1287</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1287</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;pre class=&quot;input&quot;&gt;$ perl --version&lt;br /&gt;
perl: warning: Setting locale failed.&lt;br /&gt;
perl: warning: Please check that your locale settings:&lt;br /&gt;
        LC_ALL = (unset),&lt;br /&gt;
        LANG = &quot;en_US.UTF-8&quot;&lt;br /&gt;
    are supported and installed on your system.&lt;br /&gt;
perl: warning: Falling back to the standard locale (&quot;C&quot;).&lt;br /&gt;
[..]&lt;br /&gt;
$ PERL_BADLANG=0 perl -v&lt;br /&gt;
&lt;br /&gt;
This is perl, v5.8.8 built for i386-openbsd&lt;br /&gt;
&lt;br /&gt;
Copyright 1987-2006, Larry Wall&lt;br /&gt;
[...]&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Sun, 02 Nov 2008 19:45:06 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1287-guid.html</guid>
    <category>locale</category>
<category>perl</category>
<category>perl_badlang</category>

</item>
<item>
    <title>Firefox 3.0 und robots</title>
    <link>http://strcat.de/blog/archives/1254-Firefox-3.0-und-robots.html</link>
            <category>Oneliners</category>
    
    <comments>http://strcat.de/blog/archives/1254-Firefox-3.0-und-robots.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1254</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1254</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;code&gt;about:robots&lt;/code&gt;. Irgendwo muss der Bloat ja schliesslich auch herkommen. 
    </content:encoded>

    <pubDate>Tue, 15 Jul 2008 20:56:05 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1254-guid.html</guid>
    <category>3.0</category>
<category>firefox</category>
<category>robots</category>

</item>
<item>
    <title>LaTeX: Syntaxhighlighting fuer Quelltexte</title>
    <link>http://strcat.de/blog/archives/1188-LaTeX-Syntaxhighlighting-fuer-Quelltexte.html</link>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/1188-LaTeX-Syntaxhighlighting-fuer-Quelltexte.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1188</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1188</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Eigentlich gar nicht weiter wild: &lt;a href=&quot;http://www.andre-simon.de/zip/download.html&quot;&gt;highlight&lt;/a&gt; herunterladen, &lt;code&gt;highlight -S c++ hello.c -L -b&lt;/code&gt; ausfuehren (&lt;i&gt;c++&lt;/i&gt; und &lt;i&gt;hello.c&lt;/i&gt; logischerweise anpassen) und schon kann man Codesegmente farblich hervorheben. Eigentlich ganz einfach wenn ich es nur nich immer vergessen wuerde *narf*&lt;br /&gt;
&lt;br /&gt;
// edit&lt;br /&gt;
Obiges Kommando ist mehr ein &lt;i&gt;naja.. es funktioniert auf jeden Fall&lt;/i&gt;, aber richtig brauchbar ist es nicht. Ein &lt;code&gt;highlight --syntax=c++ inputfile.c --latex --babel --replace-quotes --reformat=gnu --fragment&lt;/code&gt; ist wesentlich sinnvoller/brauchbarer. Das kann man auch mit &lt;b&gt;M-1 M-!&lt;/b&gt; direkt in GNU Emacs (oder halt &lt;b&gt;:r!&lt;/b&gt; in Vim) einfuegen. 
    </content:encoded>

    <pubDate>Wed, 30 Jan 2008 23:55:34 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1188-guid.html</guid>
    <category>c++</category>
<category>highlight</category>
<category>latex</category>
<category>vim</category>

</item>
<item>
    <title>Neue fortune-Cookies fuer die Zsh</title>
    <link>http://strcat.de/blog/archives/1151-Neue-fortune-Cookies-fuer-die-Zsh.html</link>
            <category>Oneliners</category>
            <category>Zsh</category>
    
    <comments>http://strcat.de/blog/archives/1151-Neue-fortune-Cookies-fuer-die-Zsh.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1151</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1151</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    Unter &lt;a href=&quot;http://www.strcat.de/tmp/zsh-fortunes.tar.gz&quot;&gt;http://www.strcat.de/tmp/zsh-fortunes.tar.gz&lt;/a&gt; gibt es fortune-Cookies, welche alle Beispiele von &lt;a href=&quot;http://strcat.de/zsh/&quot;&gt;http://strcat.de/zsh/&lt;/a&gt; enthalten (im Archiv ist die &lt;i&gt;Cookie-Database&lt;/i&gt; und das plain/text - File enthalten). Diese sind ein Update der &lt;a href=&quot;http://strcat.de/blog/archives/200-fortune-Cookies-fuer-die-Zsh.html&quot;&gt;alten fortune Cookies&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 11 Dec 2007 06:28:46 +0100</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1151-guid.html</guid>
    <category>fortune cookies</category>
<category>zsh</category>

</item>
<item>
    <title>Mit der Zsh geht das..</title>
    <link>http://strcat.de/blog/archives/1045-Mit-der-Zsh-geht-das...html</link>
            <category>Oneliners</category>
            <category>Zsh</category>
    
    <comments>http://strcat.de/blog/archives/1045-Mit-der-Zsh-geht-das...html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1045</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1045</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;pre&gt;# Mal schnell alle Pics von $PWD nach $PWD/Pics/ verschieben&lt;br /&gt;
  $ mv *(#i).(jp[e]g|gif|png) $PWD/Pics&lt;br /&gt;
&lt;br /&gt;
# Die ganzen Backups der Textdateien (foobar.txt&lt;b&gt;~&lt;/b&gt;) loeschen&lt;br /&gt;
  $ rm **/*~&lt;br /&gt;
&lt;br /&gt;
# &lt;i&gt;mv /var/www/htdocs/homepage/zsh/index.hmlt /var/www/htdocs/homepage/zsh/index.html&lt;/i&gt;&lt;br /&gt;
  $ mv /var/www/htdocs/homepage/zsh/index.{hmlt,html}&lt;br /&gt;
&lt;br /&gt;
# Die MP3s mit lame(1) zu *.wav konvertieren&lt;br /&gt;
  $ zmv -n -p lame -o --decode &#039;(*).mp3&#039; &#039;${1:r}.wav&#039;&lt;/pre&gt;&lt;br /&gt;
Es sind halt die kleinen Dinge im Leben.. 
    </content:encoded>

    <pubDate>Thu, 25 Oct 2007 15:45:35 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1045-guid.html</guid>
    <category>examples</category>
<category>oneliner</category>
<category>zsh</category>

</item>
<item>
    <title>Im Fadenkreuz von Vim</title>
    <link>http://strcat.de/blog/archives/1035-Im-Fadenkreuz-von-Vim.html</link>
            <category>Oneliners</category>
    
    <comments>http://strcat.de/blog/archives/1035-Im-Fadenkreuz-von-Vim.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=1035</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1035</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;code&gt;:set cul! cuc!&lt;/code&gt; 
    </content:encoded>

    <pubDate>Mon, 22 Oct 2007 01:08:10 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/1035-guid.html</guid>
    <category>cuc</category>
<category>cul</category>
<category>vim</category>

</item>
<item>
    <title>Tip #148 - Random File</title>
    <link>http://strcat.de/blog/archives/871-Tip-148-Random-File.html</link>
            <category>Oneliners</category>
            <category>Zsh</category>
    
    <comments>http://strcat.de/blog/archives/871-Tip-148-Random-File.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=871</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=871</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &lt;pre class=&quot;input&quot;&gt;FILES=( .../files/* )&lt;br /&gt;
feh $FILES[$RANDOM%$#FILES+1]&lt;/pre&gt;&lt;br /&gt;
(via &lt;b&gt;&lt;a href=&quot;http://www.zsh.org/mla/users/2007/msg00596.html&quot;&gt;zsh-users-11696&lt;/a&gt;&lt;/b&gt;) 
    </content:encoded>

    <pubDate>Thu, 02 Aug 2007 05:43:01 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/871-guid.html</guid>
    <category>oneliner</category>
<category>random</category>
<category>zsh</category>

</item>
<item>
    <title>cp/mv mit nummerierten Backups</title>
    <link>http://strcat.de/blog/archives/846-cpmv-mit-nummerierten-Backups.html</link>
            <category>Linux/Unix</category>
            <category>Oneliners</category>
            <category>Zsh</category>
    
    <comments>http://strcat.de/blog/archives/846-cpmv-mit-nummerierten-Backups.html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=846</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=846</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    cp/mv der &lt;a href=&quot;http://www.gnu.org/software/coreutils/&quot;&gt;GNU coreutils&lt;/a&gt; koennen Backups der an sie uebergebenen Dateien erstellen:&lt;br /&gt;
&lt;pre&gt;$ tree&lt;br /&gt;
.&lt;br /&gt;
|-- foo.bar&lt;br /&gt;
`-- jehova&lt;br /&gt;
    `-- foo.bar&lt;br /&gt;
&lt;br /&gt;
1 directory, 2 files&lt;br /&gt;
$ mv --backup=numbered foo.bar jehova&lt;br /&gt;
$ tree&lt;br /&gt;
.&lt;br /&gt;
`-- jehova&lt;br /&gt;
    |-- foo.bar&lt;br /&gt;
    `-- foo.bar.~1~&lt;br /&gt;
&lt;br /&gt;
1 directory, 2 files&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://zsh.dotsrc.org/&quot;&gt;Zsh&lt;/a&gt;-User koennen folgendes Konstrukt verwenden&lt;br /&gt;
&lt;pre class=&quot;input&quot;&gt;if [ ${OS} = &quot;linux-gnu&quot; -n ${(MS)$(mv --version 2&amp;gt;/dev/null)#GNU} ]; then&lt;br /&gt;
  alias mv=&quot;mv --verbose --backup=numbered&quot;&lt;br /&gt;
  alias cp=&quot;cp --verbose --backup=numbered&quot;&lt;br /&gt;
fi&lt;/pre&gt;wobei das Pruefen je nach System optional ist.&lt;br /&gt;
rm(1) von *BSD bietet das Argument &lt;code&gt;-P&lt;/code&gt;, welches Dateien &lt;i&gt;sicher&lt;/i&gt;loescht:&lt;br /&gt;
&lt;blockquote&gt;     -P      Overwrite regular files before deleting them.  Files are over-&lt;br /&gt;
             written three times, first with the byte pattern 0xff, then 0x00,&lt;br /&gt;
             and then 0xff again, before they are deleted.  Files with multi-&lt;br /&gt;
             ple links will not be overwritten.&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Thu, 12 Jul 2007 20:33:59 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/846-guid.html</guid>
    <category>alias</category>
<category>backup</category>
<category>coreutils</category>
<category>cp</category>
<category>mv</category>
<category>rm</category>

</item>
<item>
    <title>&quot;Koenntet ihr mir bitte..&quot;</title>
    <link>http://strcat.de/blog/archives/845-Koenntet-ihr-mir-bitte...html</link>
            <category>Linux/Unix</category>
            <category>Oneliners</category>
            <category>Software</category>
    
    <comments>http://strcat.de/blog/archives/845-Koenntet-ihr-mir-bitte...html#comments</comments>
    <wfw:comment>http://strcat.de/blog/wfwcomment.php?cid=845</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://strcat.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=845</wfw:commentRss>
    

    <author>blog@strcat.de (Christian Schneider)</author>
    <content:encoded>
    &quot;eine Kopie der vorhandenen Dokumentation fuer das System per Mail schicken?!&quot;&lt;br /&gt;
Na sicher doch:&lt;br /&gt;
&lt;pre class=&quot;input&quot;&gt;$ for i in /usr/share/doc/**/*(.) /usr/src/linux/Documentation/**/*(.)&lt;br /&gt;
&amp;gt; do&lt;br /&gt;
&amp;gt;        mutt -s &quot;${i##*/}&quot; -a $i hirn@hein.er&lt;br /&gt;
&amp;gt; done&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
 Chris&#039;Mittag machend&#039;tian 
    </content:encoded>

    <pubDate>Thu, 12 Jul 2007 11:09:05 +0200</pubDate>
    <guid isPermaLink="false">http://strcat.de/blog/archives/845-guid.html</guid>
    <category>dokumentationen</category>
<category>mail</category>
<category>mutt</category>

</item>

</channel>
</rss>