Live data from Hacker News

A Bourne-style shell built from scratch in 35 minutes [video]

destroyallsoftware.com

21–30 of 71 posts

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#24
post #19

By the way, IMHO much of the ugliness of shells comes from the requirement that simple filenames are to be used without additional escape characters. I think we should ditch that requirement.

My fantasy crosscutting change is outlawing spaces in filenames, at the filesystem level!

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#25

Such negative Nellies. This is why I don't publish anymore. You try to teach people something fun, and show people you can do quite a lot with very little. But it's nothing but criticism, and none of it constructive.

Totally get your point, but not being all that you are out of fear for consequences will never work out. Whiners and trolls are way overrepresented, it's a way of life for them. But for every confused individual there's someone who's been waiting to hear your voice, someone who's just as sick and tired of the same old as you are. This is your space as much as anyones, our space; as long as we're willing to claim it.

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#26
post #14

Was expecting more guns, car chases, exotic city backgrounds, and slightly-above-average women from the new Bourne shell. Turns out it's just a command line interpreter. Two stars.

Funny, but the shell's namesake is pretty badass himself https://en.wikipedia.org/wiki/Stephen_R._Bourne

Embarrassing that I use bash everyday and didn't know about Stephen Bourne. Shameful.

I also just learned Bash was developed by Brian Fox after Stallman became dissatisfied with progress on it in 1988 as a free software replacement for the Bourne shell.

We don't celebrate these guys enough, I wish there was more recognition, more of a public face and profile for all these pioneers.

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#28

Such negative Nellies. This is why I don't publish anymore. You try to teach people something fun, and show people you can do quite a lot with very little. But it's nothing but criticism, and none of it constructive.

At the time of this comment, this post has 70 votes and 25 comments. 70 people that liked it enough to upvote it, and not all of these comments are negative. I know absolutely nothing about you, but if this HN thread is representative of why you don't publish anymore, might I suggest a thicker skin.

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#29

On this note, I need to build my own Terminal multiplexer - does anyone have a favorite primer of theirs for all the escape codes? Not only do I need to use them myself, but I need to handle them of child processes to restrict term sizes etc. I can Google like ya'll - I'm just asking if there are any favorite resources :) Thanks

why do you want to build your own multiplexer? is it just to learn the tech, or do you find screen/tmux aren't what you're looking for? (if the latter, what's lacking?)

i'm not trying to say it's not worth building your own, i'm just curious.

Re: A Bourne-style shell built from scratch in 35 minutes [video]

#30
post #21

I was so disappointed that they chose Ruby. I would have been impressed if they had chosen bare C and still manage to build it under 35 minutes.

stephen brennan wrote a great article [1] on how to write a shell in C. it's a little more simply than DAS' implementation, but it's a fantastic read.

[1] https://brennan.io/2015/01/16/write-a-shell-in-c/

Post reply on HN