8 ms·
Where grep came from [video]
- hnarayanan 8y agoSuch an excellent story teller!
- topicseed 8y agoI love his videos on Computerphile! Incredible source of hardcore computing knowledge.
- deleted 8y ago[deleted]
- bch 8y agoI was most excited to learn that ed(1) is pronounced “eee dee”.
- superflyguy 8y ago... by literally four people.
- cat199 8y ago... who literally created it.
- andremat 8y ago... please repeat after me: gif.
- mattl 8y agoI generally go with “GIF with a soft G is the format, GIF with a hard G is the culture.”
- kevin_thibedeau 8y agoEveryone involved in the creation of GIF and CompuShow pronounce it as "jif". Anything else is sacrelige.
- mattl 8y agoThose people aren’t part of the lifestyle or culture. I wish they were.
- ts4z 8y agoCompuServe.
- kevin_thibedeau 8y agoCompuShow was the DOS GIF viewer.
- ts4z 8y agoD’oh. Thanks.
- Bromskloss 8y agoWhat's right is right, even if the majority is wrong. No argumentum ad populum here! :-)
- User23 8y agoStands to reason really. cd, ls, mv (crush the “move” heresy), ld, and others. Ambiguity creeps in at three characters. Who’s the man?
- yjftsjthsd-h 8y agoThose lack the vowels to be pronounceable. Also ed looks like the first syllable of editor and could reasonable be pronounced as such.
- User23 8y agoYou're not wrong, but it's still pretty clear that the PDP11 crew thought in keystrokes and not syllables.
- mturmon 8y agoThe octal dumper od is pronounced oh-dee, the assembler is ay-ess, the archiver is ay-arr. OTOH, the delayed execution command is “at”, but that is a full word anyway.
- srtjstjsj 8y ago"ed" (and the ED in QED)'s name was also chosen as an abbreviation for "editor". But the creators chose to pronounce the abbreviation differently.
- jmts 8y agoFrom the video [1]: "The UNIX text editor was called 'eee-dee' - it's not pronounced 'ed', at least by those in the know - it's pronounced 'eee-dee'. This was written by Ken Thompson, and I think it was basically a stripped down version of an editor called QED" [1] https://youtu.be/NTfOnGZUZDk?t=113 https://youtu.be/NTfOnGZUZDk?t=113
- webbrahmin 8y agoI watched this video today and here it is on Hacker News. What a coincidence.
- monkeywork 8y agoI wonder how his students did at the assignment he mentioned at the end :)
- sverhagen 8y agoI can only imagine the learning opportunities just from comparing their results with the real grep. The original being built on an 8-bit 32kb RAM nothing little environment is not something many people are naturally inclined to optimize for anymore. And for people to even implement any kind of non-trivial spec, in this case presented as another working application, I imagine every result was different, and incompatible.
- greenyoda 8y ago> The original being built on an 8-bit 32kb RAM Actually, the PDP/11 was a 16-bit machine.
- ahurmazda 8y agoI hope these videos will live on for many years to come. Absolutely amazing and rich oral history of many things we take for granted in our daily lives.
- mattl 8y agoMe too. I’m in a couple of them and a lot of people have told me they found them enjoyable and learned more about free software as a result.
- curiousgal 8y ago>many things we take for granted in our daily lives. The entitlement we live in nowadays vis à vis technology continues to blow my mind, from some condescending attitudes towards free software that forms the building block of a myriad of products to the "disappointment" some consumers express when a new released chip isn't twice as fast as the old iteration. There's a lot going on behind the scene and even by saying so I am underestimating just how much our civilisation has put in effort into the things that we use on a daily basis and pay to attention to.
- User23 8y agoThis is why I get mad when people piss on RMS. No need to dwell on his defects, he has served our community immeasurably.
- krapp 8y agoIf you're talking about people making fun of his weight or appearance or other strange behaviors, then I agree. But RMS didn't descend from Mount Sinai with the Four Freedoms carved into stone by the finger of God or anything. He's just a man with an opinion, and his ideas are not above criticism regardless of what he's done for the community.
- mattl 8y agoNo. But he did live in a community of sharing that was destroyed by proprietary software and he has spent 45 years developing free software. So many should pay his ideas more respect than they do because they like to make it about his person life.
- dorfsmay 8y agoIf ed looked familiar is because you use a derivative of it in vim, in ex-mode. You can also run ex standalone, which is great to automate file changes. https://en.wikipedia.org/wiki/Ex_(text_editor) https://en.wikipedia.org/wiki/Ex_(text_editor)
- wglb 8y agoIt looks familiar to me because I wrote a tutorial for it for Coherent and used it for many years before David Conroy wrote MicroEmacs. vim, not so much.
- sverige 8y agoWell, if you went down the emacs path in 1985 when MicroEmacs was released (near as I can tell anyway), that was six years before vim was released, so I think you meant to say "vi," not "vim." Some of us still use plain old vi and not vim, which is why I'm a little touchy about it, I guess. (I mean, what do you need with all those damn plugins, anyway? Might as well use emacs in that case.)
- dorfsmay 8y agoI moved from vi and vi clones to vim for its Unicode support, but then started learning all its more advanced operations and have been enjoying them since then.
- sedachv 8y agoThe Coherent documentation is tops: http://www.nesssoftware.com/home/mwc/manual.php http://www.nesssoftware.com/home/mwc/manual.php Really impressive what the people at MWC did with an 8088.
- srtjstjsj 8y agoEd is the standard text editor, so it ought to be familiar. https://www.gnu.org/fun/jokes/ed-msg.html https://www.gnu.org/fun/jokes/ed-msg.html
- amorousf00p 8y agoKernighan is so nice to listen to compared to some of the the hot air balloons in software today. I use awk everywhere (and have for many years) and am deeply indebted to BK and AR for their work on and custody of that language.
- lprd 8y agoI had no idea grep was made over night! Thoroughly enjoyed the video and subbed to the YouTube channel. Thanks for sharing!
- dws 8y agoExtracted from working code overnight, which in those days on that equipment was still quite an accomplishment.
- eltoozero 8y agoWait, that’s Brian Kernighan? The K in K&R C Programming??? Mind blown, what an excellent dude!
- jedimastert 8y agoHe actually has a lot of really awesome oral history/lecture videos on that same channel. He's an incredible "casual oral history" storyteller.
- Bromskloss 8y agoThe small step from ed to regular expressions seems like a giant leap in sophistication to me.
- sverige 8y agoYes, that innovation gets passed over rather quickly, doesn't it?
- MetaDark 8y agoWell Ken Thompson didn't actually invent the idea of regular expressions, but he was probably one of the first people to implement them in software. Regular languages and expressions were first formalized in 1951 by Stephen Kleene and I assume Ken Thompson used this research to implement them.
- textmode 8y agotl;dr The idea for grep, like sed, began in the mind of Lee McMahon. The program grep was implemented by Thompson. I recall reading that the program sed was first implemented by Ritchie, and later McMahon himself. Is this correct?
- bariswheel 8y agoI went down the rabbit hole hard on this YouTube channel, great content.
- type0 8y agoGreat remark at the end: "they had one great disadvantage: none of them were Ken Thompson" Aside from retrocomputing is there any actual use for ed in this day and age though? https://sanctum.geek.nz/arabesque/actually-using-ed/ https://sanctum.geek.nz/arabesque/actually-using-ed/
- FfejL 8y agoIn a sense, yes. 'sed' is basically 'ed' for streams. Not exactly the same syntax & commands, but very very close.
- usermac 8y agohttps://youtu.be/NTfOnGZUZDk?t=505 https://youtu.be/NTfOnGZUZDk?t=505 to jump to it and did you notice... is he wearing a Casio watch from that same time period?
- smadge 8y agoKernighan saved the most interesting fact for his last comment: both grep and ed were written in assembly, not C!
- jedimastert 8y agoI actually didn't know that either! I wonder if grep & ed actually predate C...It's also very possible that K&R might have thought about C as a toy or novelty at the time.
- cartercole 8y agoI named my whole company after grep: grepwords.com and I had never knew this... cool history to learn