Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
msm_
1y ago
0 comments
Share
Gnu yes is actually pretty bloated. It's 130 lines of code for something so trivial [1]! ;)
[1]
https://github.com/coreutils/coreutils/blob/master/src/yes.c
undefined | Better HN
0 comments
default
newest
oldest
pixelbeat
1y ago
yes(1) is the standard unix way of generating repeated data. It's good to do this as quickly as possible. I really don't understand why so many get annoyed with this code. 130 lines isn't that complicated in the scheme of things.
j
/
k
navigate · click thread line to collapse