Hacker News new | ask | show | jobs
by tivert 1063 days ago
> good luck reading 10k lines of shell written decades ago. it would likely be an incredible waste of time.

If the entire telephone system was down and needed cold started, and the script had information someone needed to do that, someone would take the time to read it. Maybe not run it, but definitely read it to extract clues.

I mean, it's not like it's binary. It's totally possible.

1 comments

Based on ChatGPT, assuming 10k lines translates to around 30k words, it should take about 3hrs to read it. Multiply that by your favorite factor for read and understand. Split that to a few people, skim parts that are not applicable etc. All in one this seems easily readable in sensible time.
I know, right?

Can you even imagine the alternative? "Hey lets throw this maybe incredibly helpful shell script in the trash. Because it's too long."