Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clarry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
226 ms
·
2011.
▲
by
clarry
13y ago
It's hardly ubiquitous. NetBSD has had it for 11 years. FreeBSD has had it for three years and six months. DragonFly doesn't have it, OpenBSD doesn't have it... http://cvsweb.netbsd.org/bsdweb.cgi/src&#
2012.
▲
by
clarry
13y ago
Which Unix includes that command?
2013.
▲
by
clarry
13y ago
There are no hits for xxd on the Unix Tree ( http://minnie.tuhs.org/cgi-bin/utree.pl ) so it's definitely not a traditional Unix tool. I'm sitting in front of a BSD system which includes nvi. I don't hav
2014.
▲
by
clarry
13y ago
For OpenBSD ksh I've got this hack alias d='[ ${#DIRSTACK[@]} -gt 0 ] && for i in `jot ${#DIRSTACK[@]} 1 ${#DIRSTACK[@]} 1`; do echo ${DIRSTACK[$i-1]}; done; echo $PWD' alias popd='[ ${#DIRSTACK[@]} -gt 0 ]
2015.
▲
by
clarry
13y ago
In this invocation find and wc both have two fixed arguments, you're never going to hit MAX_ARG_PAGES. The output from find is passed to wc over a pipe, and to my knowledge there's no upper limit on how much data you can transfer
2016.
▲
by
clarry
13y ago
Why should he mention depth of field? Two out of the three "compact" cameras he mentions having are equipped with APS-C sensors, which, while smaller than 35mm, are still plenty large for most uses. They're used in DSLRs to
2017.
▲
by
clarry
13y ago
Sadly, no. It's pretty much dead. As far as I can tell it's fairly complete, but many or most users have switched back to GNU cvs due to long standing bugs and some missing stuff nobody's interested in working on. The only
2018.
▲
by
clarry
13y ago
Coming from Google doesn't mean it's good code to learn from. Be careful not to pick up bad (and potentially disasterous, security-wise) habits like not checking for arithmetic overflows in functions such as enlarge_vector_if_ful