Back to discussionComment by msm_[-]msm_2 years ago1 reply#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.cpixelbeat2 years 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.
msm_2 years ago1 reply#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
pixelbeat2 years 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.
[1] https://github.com/coreutils/coreutils/blob/master/src/yes.c