Hacker News new | past | comments | ask | show | jobs | submit login

This seems to be relatively new. It doesn't work on a couple of boxes I tried.

Thanks though, I didn't know about the ?? syntax.




I found references to it going back to 2008, and the git repo that has my dotfiles says I've been using it (in Linux) for 3 or so years. Maybe it depends on the OS/distro.

The patterns are similar to shell globs: * matches zero or more characters, ? matches exactly one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: