• palordrolap@fedia.io
      link
      fedilink
      arrow-up
      7
      ·
      2 hours ago
      $ yes n
      n
      n
      n
      n
      n
      n
      ...
      

      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.