GNU sort and -k: a gotcha
Sometimes I don't like GNU utilities.
Suppose that you have a file that looks like this:
oxygen frednitrogen bobxenon fredcarbon cksiron jim
Further suppose that you want to sort it by the second field, to groupmachines by the users that own them. So of course you do ' sort -k2file ', because that's the obvious answer. Except that it doesn't work;it sorts in some peculiar, non-obvious way, and it's not that you
難以承認
The Concert("非常愛樂樂團") ------ 戲劇性太強反變得胡鬧!
Film : Le Concert (France) (2009)
Directed by Radu Mihaileanu
Written by Radu Mihaileanu/ Héctor Cabello Reyes/ Thierry Degrandi/ Matthew Robbins/ Alain-Michel Blanc
Starring Aleksei Guskov/ Mélanie Laurent
Music by Armand Amar/ Tchaikovsky
Duration: 123 mins
1. 樂團指揮淪為劇院清潔工已夠戲劇性,已完全脫離了真實感,當然政治因素下,甚麼事也有
我在教會目睹之怪現象
What we (currently) use virtualization for
I've pulled this out of Random's comment on yesterday's entry :
[...] but I stop short of doing everything on virtual machines,which I think you do more of.
Although I may have accidentally left people with a differentimpression, right now we're actually not using virtualization forvery much. We have one virtualization host machine, and on it wecurrently run only three virtual machines: two Windows imagesand a small Linux machine that forwards some low-priority email .
民主的限制
One reason that I call us a midsized environment
I mentioned earlier that I have a number of reasons tocall us a midsized environment. One of them is how we need to run ourenvironment, in that we are in the middle between two extremes of howto deal with systems.
On the one hand, we are sufficiently large that you don't want to dothings by hand and it makes sense to automate at least some things.We've long since grown past the point where all of our machines could beset up separately or run individually (