I kind of want to go back in time and make it so that the original yes always printed the first letter of the name it was called by. That way you could symlink any name you like to it and it would do the right thing. Called as no it would print ns, etc. The optional parameter would still be there for longer strings or alternate uses.
The reason time travel would be needed is that there’s bound to be, or have been, someone who has done something weird regarding symlinking yes that relies on it always printing y when it has no parameter, and the name trick would be a breaking change.
forced consent
$ no bash: no: command not found $ yes y y y y y ...$ yes n n n n n n n ...I kind of want to go back in time and make it so that the original
yesalways printed the first letter of the name it was called by. That way you could symlink any name you like to it and it would do the right thing. Called asnoit would printns, etc. The optional parameter would still be there for longer strings or alternate uses.The reason time travel would be needed is that there’s bound to be, or have been, someone who has done something weird regarding symlinking
yesthat relies on it always printingywhen it has no parameter, and the name trick would be a breaking change.yesn’t
Or make your own package? call it
affirm(more wholesome), write it in Rust (of course), and take onyes.