3 ms·
You can make that exact same argument irregardless of what switch character Unix uses. The real problem is not the switch character itself, but the approach use
by st_goliath 6y ago
You can make that exact same argument irregardless of what switch character Unix uses. The real problem is not the switch character itself, but the approach used by standard Unix tools to "parse options until parsing fails, then assume it's an argument" which becomes an amazingly great foot gun if the actual option is inserted by a shell glob or a shell variable.