this post was submitted on 12 Jun 2026
146 points (98.0% liked)
Technology
85355 readers
3941 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm going to claim this one wasn't entirely my fault and should have been coded better... But I ran it.
I ran a script that expected to run from a bin directory, cd/chdir to a input file directory, then do a sed on every file to replace windows line endings to UNIX/Linux line endings. After that it would start loading and processing them.
The problem was, if the directory it tried to change to didn't exist, it silently continued and ran it on the current directory... You know, the bin directory... With all the compiled C binaries.
So at about 16:30 on a Friday, 30 min before we started our huge weekend builds, I nuked about 70% of the binaries by randomly replacing all bytes that looked like crlf with lf. Turns out binaries didn't like that.
Good times.