Porting Apple's BSD shell_cmds for Fun and Learning!


#1

I’m porting Apple’s BSD shell_cmds to Rust because I think it’s fun, and I like learning that way. (Think command-line utilities like true, yes, seq, date, etc.)

It would be even more fun if it weren’t so flipping lonely. So come join in! Click the link above and take a look at my oh-so-expertly crafted ReadMe which will undoubtedly win a pulitzer any minute now.

DISCLAIMER: I had surgery some hours ago, so I’m heavily medicated and so this may be extra fun. And if I suddenly stop responding, it’s just because I fell asleep. Wait an hour or twelve. I’ll wake up again. :wink:


#2

I’m sorry you’re going through this. God bless you
Maybe you’ll be interested in https://github.com/uutils/coreutils


#3

LOL. You’re awesome. I’ll take all the sympathy I can get. :smile:

That might be a good place to go see how someone else did it if I get stuck and no one here takes sympathy on my next poorly worded help request. :wink:

I have successfully implemented true and yes so far. I know, I know. Pretty amazing! Hold your applause until later, folks!

I got sidetracked and have spent a couple hours composing an essay on the merits of print! not flushing stdout. You should totally read it. It’s literally the best essay I have ever written while on post-op pain medication the same day as having surgery.