Friday·20·October·2006
Nice Shell Bloomer //at 16:39 //by abe
While looking for users which still have “.”
in their path, I found the following nice bloomer:
PATH=``$PATH:.:$HOME/bin''
It’s obvious what the user tried to do. But why the fuck does this (more or less man or info page alike) quoting syntax work?
It took me a moment to realise that this kind of “quoting” works in nearly all Unix shells: The two backquotes as well as the two single quotes become an empty string and are therefor completely useless in this case.
The user probably read some uglily localized man or info page (like
the German ones in Debian Sarge) and did some copy and paste to his
.bashrc. And since it “worked” he didn’t see
any reason to change it again.
Tagged as: Admin, bash, DAU, Debian, Documentation, ETH Zürich, Localisation, man page, Sarge, Shell, WFM, WTF
0 comments // show without comments // write a comment //
Related stories
Thursday·28·September·2006
wApua 0.06 released //at 03:33 //by abe
I today released version 0.06 of my WAP browser wApua (Release announcement at Freshmeat).
The one big new thing is user friendly documentation: wApua and wbmp2xbm (which has been renamed from wbmp2xbm.pl) now have POD documentation and therefore also man pages. Besides that a lot of minor bugfixes and enhancements complete the new version.
The other big new thing is that there now is a Debian package of wApua. The package should work fine on Debian Woody (3.0), Sarge (3.1) and Etch (upcoming 4.0) and probably also works on other Debian-based distributions like Ubuntu.
Thanks to sponsoring by Christoph “Myon” Berg the Debian package is also in
the Debian
New Queue and hopefully will be included in Debian Etch.
Tagged as: Bugfix, deb, Documentation, Etch, Freshmeat, Hacks, Open Source, Perl, POD, Sarge, Tk, Ubuntu, WAP, wApua, WML, Woody
1 comment // show without comments // write a comment //




