Suche

 

Aktuelle Beiträge

Neues "Feature" im Captains...
Letzte Tage, beim Lesen meiner Blogroll, ging mir durch...
cptsalek - 4. Dez, 15:48
The story of stuff: Jetzt...
An einem der zurückliegenden 8. Dezember habe...
cptsalek - 4. Dez, 08:28
Das Leben ist gut
...so ganz ohne Windows. :-)
cptsalek - 2. Dez, 09:42
Vielen Dank für...
Vielen Dank für das Einstellen dieses Artikels! Endlich...
das Bäumchen (anonym) - 30. Nov, 12:34
HPV-Impfung
Ich mag naturbedingt ein skeptischer Mensch dem Kapital...
cptsalek - 29. Nov, 14:06

Credits

Knallgrau New Media Solutions - Web Agentur für neue Medien

powered by Antville powered by Helma


Creative Commons License

xml version of this page
xml version of this page (summary)
xml version of this page (with comments)

twoday.net AGB

Archiv

August 2007
Mo
Di
Mi
Do
Fr
Sa
So
 
 
 2 
 4 
 6 
 7 
10
12
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
 
 

Status

Online seit 1092 Tagen
Zuletzt aktualisiert: 4. Dez, 15:48

Counter & Co.

Egoload - Verträumter Idealist
Mein
Koordinaten auf der EgoMap:  93,2
100% Heidnisch

Locations of visitors to this page


Lilypie Expecting a baby Ticker

Freitag, 3. August 2007

I love zsh: Parameter Substitution

I'm one of the guys who came across zsh, and use it since then. There has been an interesting thread about parameter substitution, with a summary of all the features that zsh provides.
Check out "RE: Very useful !#^.
It's great to be able to use parameters that have been supplied in the current line, or the line before. Just think about a long command. You press enter, and in the next line, you'll need a parameter again, such as a path name. With !:n, where n is a number that has to be substituted with the position number where the parameter is located.

If you think "hey, what's this zsh stuff all about, there's bash!", check out the brilliant article The last shell you'll ever need.

Zusammenfassung:
Auf der zsh-Users Mailingliste kann man eine schicke Zusammenfassung der möglichen Parameter Substitutionen lesen. Für den Fall, dass man auf Copy+Paste keine Lust hat, aber mal aus der vorherigen, oder aktuellen Zeile, einen Parameter ("ein Wort") braucht.
Sehr gut ist übrigens der Artikel The last shell you'll ever need, bei dem es Vorteile der zsh geht. Korrekturen stehen dann in den Kommentaren. ;-)

RAM arrived and got a new SIM card

It seems as if everything is working out as planned.
1. I started my holiday today.
2. 2GB RAM arrived today, for the machine I'll take with me to the camp. It needs it anyway because I'll use ZFS from FreeBSD-CURRENT with it.
3. I was in a local shop of my phone provider today and got a new SIM card. My old one is a first generation card that isn't capable of dealing with UMTS. This resulted in a problem where the provider couldn't switch my account to the new rate - because I didn't receive a newer SIM card. So I told them that I'll be away next week and that I need the new rate. Tomorrow the new SIM is hopefully being activated and then the new options kick in, too.

Endlich Urlaub!

Ich habe das Problem hier gefixt, jetzt ist Urlaub!

Ursache des Problems war eine falsche Variablendefinition bei einem Funktionsaufruf. In der zsh geht ein

typeset array=()

eben in die Hose. Und ich war schon am verzweifeln... *seufz*

Was mich von meinem Urlaub trennt

Diese Zeile hier:

typeset:164: maximum nested function level reached

Hmm...

Wichtiges/Interessantes aus anderen Blogs:

Netzfilter: Unbrauchbar und schädlich
<p>Sueddeutsche.de hat den Dresdner Informatik-Professor...

Twitter (was mache ich gerade?)

    User Status

    Du bist nicht angemeldet.

    ...wenn man trotzdem lacht
    Atari Mega ST
    Auf Arbeit
    Bloggen
    Bookmarks & Links
    BSD
    Bundeswehr
    CCC07
    Computing
    Datenschutz
    Fahrrad
    Fundsachen
    G8
    Garten
    Gentechnik
    Gesundheit
    ... weitere
    Profil
    Abmelden
    Weblog abonnieren