News for hackers. Stuff that matters.
Re:Why did Turbo Pascal apps fail with a division-by-zero on... by colejohnson66 on Saturday August 24, 2019 @05:23PM (#20789798)
Is there a way to stop rm from running if there’s a space?
Re:Why did Turbo Pascal apps fail with a division-by-zero on... by semi-extrinsic on Saturday August 24, 2019 @06:12PM (#20790053)
IIRC, zsh has an option such that if you type `rm -rf /folder` it will ask

Sure you want to delete /folder with 382 files? (Y/N)

This would at least give you a chance to spot that it was asking about the wrong file.

Re:Why did Turbo Pascal apps fail with a division-by-zero on... by dllthomas on Saturday August 24, 2019 @05:50PM (#20789928)
If you're okay with being unable to remove multiple files at once...