Hacker News new | ask | show | jobs
by patrec 2331 days ago
It's been a while since I last wrote CL but I think your program can produce any counts between zero and the correct one – you need to use eql instead of eq if you want this to work in standard common lisp.
1 comments

Ah, you're right of course - fixed. Though that still won't make this portable, as I'm using an SBCL-specific way of accessing argv.
`unix-opts` is in available in quicklisp -- it's small, and has a portable `argv` wrapper function.