Hacker News new | ask | show | jobs
by bakul 3959 days ago
string `which ls`|grep src shows cvs strings. FreeBSD switched over to svn a long time ago and cvs id strings are not updated anymore. But svn log ls.c on the head branch shows the last change was on 20-July-2015.

In any case, why keep fiddling with the source code if the program does what it is intended to do?

1 comments

Here's a good example. Came up just the other day.

    $ du -hs big.log;time cat big.log  > /dev/null
    199M	big.log

    real	0m0.045s
    user	0m0.002s
    sys	0m0.043s
    $ time gtr a b < big.log > /dev/null

    real	0m0.334s
    user	0m0.182s
    sys	0m0.142s
    $ time tr a b < big.log > /dev/null

    real	0m33.105s
    user	0m31.757s
    sys	0m0.488s
    $
I don't have a freebsd machine around to see if it's just apples tr that is broken.

I'm sure it's related to unicode bullshit, but the usual env var tricks don't seem to help.