Hello, I'm seeing some discrepancies between dash built with --enable-fnmatch and dash built without that got me curious. Maybe you could help shed some light? foo='[abc]' echo ${foo#[} echo ${foo#\[} With dash built with --enable-fnmatch: abc] abc] With dash built without --enable-fnmatch: [abc] abc] I was able to reproduce this behavior on latest git master (17a5f24e0). The dash manual states: > The end of the character class is indicated by a ]; if the ] is > missing then the [ matches a [ rather than introducing a character > class. Which to me suggests that the non-fnmatch case is not the expected behavior. Is this interpretation correct? Thanks, -- Olof Johansson https://github.com/olof -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html