916 reputation
417
bio website
location
age 34
visits member for 2 years, 8 months
seen Apr 15 at 17:21

I am a robot. I can't remember how I passed the captcha.


Apr
13
awarded  Nice Question
Apr
4
asked Source files with `*.in` extension
Apr
4
revised Can continually assigning a variable in a shell script cause a memory leak?
added 1 characters in body
Apr
4
answered Can continually assigning a variable in a shell script cause a memory leak?
Mar
30
accepted Set lightdm user picture
Mar
29
asked Set lightdm user picture
Mar
29
awarded  Informed
Mar
17
revised biggest possible number for sort -n
enable syntax HL
Mar
14
comment biggest possible number for sort -n
I think the perfect value should the lower of either maximum of what sort can handle or maximum timestamp. I mean, if I assume 64bit max, how will sort handle that on 32bit? It makes sense that in most cases they would be the same, i.e. maximum int; shouldn't that be somewhere under /sys?
Mar
14
comment biggest possible number for sort -n
I also had the maximum timestamp approach in mind, but then I wonder if there's a command that can give me that number regardless of architecture (64bit or 32bit etc.)
Mar
14
accepted biggest possible number for sort -n
Mar
14
comment biggest possible number for sort -n
That said, your great answer is exactly what I was looking for.
Mar
14
comment biggest possible number for sort -n
GNU sort seems to put all other sequences first. From my tests (coreutils-8.21-21.fc20.x86_64), it actually seems that sort -g does that, e.g. (I'm using : for brevity here) "a:b:-inf:-10:0:10:inf", while sort -n regards all NaN's zero so that they end up in the middle, e.g. "-10:a:b:-inf:inf:0:10"
Mar
14
comment biggest possible number for sort -n
@ALiX no, I mean what you mean by "z". Problem is that all non-numerals I've tried come as zero
Mar
14
comment biggest possible number for sort -n
@ALiX I'm not really looking for limit since that will make the behavior undefined if age_of returned the same number. I'm rather looking for something that will always be after all numbers ... if it makes sense.
Mar
14
comment biggest possible number for sort -n
@ALiX Since it's rather theoretical question I'd prefer solution on all platforms, or say, within some reasonable standard like POSIX. (I'll be using part of that code on my Fedora box but I'm not planning on living that long so I'm OK with current value there ;)).
Mar
14
asked biggest possible number for sort -n
Mar
13
accepted unpack and patch source rpm (rpmbuild -bp) safely
Mar
13
asked unpack and patch source rpm (rpmbuild -bp) safely
Mar
9
comment GNUBG configure: error: You need to have glib2 to compile GNU backgammon
@cea it assumes you have desktop environment like Gnome, KDE or Xfce (there's many of them) on your machine. These DEs use Alt+F2 to open dialog where you can launch arbitrary application (instead of launching it from terminal or from menu).