Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ben165
· 7y ago · 0 comments
Nice project. Just looked for the source code of "yes" (
https://github.com/coreutils/coreutils/blob/master/src/yes.c
), cause it seems to be the easiest code to understand.
I didn't get it. Damn. Looks still complicated.
Comments
[–]
yjftsjthsd-h
7y ago
Yeah, `yes` ended up complex in order to get better performance; if you want something simpler, maybe try
https://www.maizure.org/projects/decoded-gnu-coreutils/env.h...
?