```perl perl -e '$\=pack("C*",@ARGV);while(){/([^\/]+)$/; $_=$1;print }' 44 32 97 32 104 97 112 112 121 32 110 101 119 32 121 101 97 114 10 ``` Und nicht vergessen.. http://www.strcat.de/eigenes/neujahr.txt For comments, please send me an email read more →
<i># Remove a trailing pathname component, leaving the head. This works like `dirname'.</i><br /> <br /> $ echo =ls(:h)<br /> <br /> /bin<br /> <br /> <br /> <i># Remove all leading path ... read more →
Die Dinger werden auch immer teurer. Fuer mein Neues hab ich 45¤ geloehnt. Das alte Rasiermesser hat das zeitliche gesegnet.. kaum hat man(n) das Ding 12 Jahre, schon is es kaputt \*narf* Ich bin ehrlich mal gespannt was als naechstes den Gei ... read more →
$ ls -l *(G[users]) For comments, please send me an email read more →
$ rmdir ./**/*(/od) 2> /dev/null For comments, please send me an email read more →
$ for f in ***/*(/l2); do foo=($f/*(N)); [[ -z $foo ]] && print $f; done # Since Zsh 4.2.1(?) the glob qualifier F indicates a non-empty directory. $ ls -ld *(/^F) For comments, please send me an email read more →
$ chmod someuser /**/*(D^u:${(j.:u:.)${(f)"$(</etc/passwd)"}%%:*}:) For comments, please send me an email read more →
$ print -rl -- /path/to/dir/**/*(D.om[5,10]) For comments, please send me an email read more →
$ ls -fl *(DOL[1,5]) For comments, please send me an email read more →
$ print -rl -- **/*(Dom[1,10]) For comments, please send me an email read more →