Hacker News new | ask | show | jobs
by pzmarzly 142 days ago
Fair. My bash scripts only broke 3 times over the years:

- when ls started quoting filenames with spaces (add -N)

- when perl stopped being installed by default in CentOS and AlmaLinux (had to add dnf install -y perl)

- when egrep alias disappeared (use grep -E)

1 comments

>- when ls started quoting filenames with spaces (add -N)

Your fault: http://mywiki.wooledge.org/ParsingLs

Kinda tells you everything you need to know about the design of the system when using it the default way is utterly unsafe.