Live data from Hacker News

Fast Markov chains in ~20 lines of sh, grep, cut and Awk

0x0f0f0f.github.io

41–42 of 42 posts

Re: Fast Markov chains in ~20 lines of sh, grep, cut and Awk

#41

Earlier quoted context omitted.

What makes this gnuland?

bash, grep, awk, are all gnu tools

he's using sh not bash. Grep, sh, and awk predate gnu by a long-time. It's not like they invented these tools, merely made their own implementations.

Re: Fast Markov chains in ~20 lines of sh, grep, cut and Awk

#42
post #20

Earlier quoted context omitted.

Not being pedantic, but OP's script isn't Bash, it's POSIX sh. POSIX sh can be executed in Bash, but there are several differences. The only non-POSIX command I can spot in that script is shuf.

Not being pedantic, but * something pedantic *.

What I meant is that I'm not being pedantic for the sake of being pedantic.
Post reply on HN