TIL bash has exponential-time glob expansion because they use their own crappy implementation rather than libc's. https://research.swtch.com/glob
-
-
Replying to @RichFelker
Busybox ash is unaffected and computes in a few microseconds what would take bash decades or centuries.
1 reply 1 retweet 3 likes -
Replying to @RichFelker
And yet people still complain when smart distros use ash or dash as /bin/sh in place of bash... >_<
1 reply 1 retweet 4 likes -
Replying to @dev_console
Wonder how that happened? Did Debian drop in gnulib glob? Or did original ash have bad glob and bb just removed it for size?
11:26 AM - 27 Apr 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.