Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
matheusmoreira
on May 2, 2020
|
parent
|
context
|
favorite
| on:
I shipped a word processor that formatted the hard...
rm -rf "$STEAMROOT/"*
Yes. I have bookmarked this issue as a reminder to always read every single shell script before execution.
cyphar
on May 3, 2020
[–]
Also, begin every shell script you write with
set -Eeuo pipefail
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: