3 ms·
Your problems were using GNU extensions, instead of writing in POSIX-standard subset, not knowing what the standard was, and not testing. None of which apply to
by rdancer 11y ago
Your problems were using GNU extensions, instead of writing in POSIX-standard subset, not knowing what the standard was, and not testing. None of which apply to the grandparent!
- bpchaps 11y agoYeah, should've been 10x more clear. What I meant to say was that by using aliased commands for something as widely used as rm, it's easier to forget the nuances and cause some serious issues. A better example might've been rsync, where it's incredibly easy to wipe a directory if you forget a leading slash with the right flags.