Timeline for Bash pattern to match directories whose names begin with a dot (period), by being "explicit", instead of using "shopt -s dotglob"?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 13, 2016 at 13:44 | comment | added | Ben Johnson | @jayhendren Thank you for your time and assistance here. If you've kept up with the edits and follow-ups, you know that I'm the schmuck here and I posted a "bad question". Your answer was helpful and succinct, given my original question, but I think G-Man deserves the Accepted Answer, given the extent to which he has provided useful follow-up information after I edited the question to explain the specific use-case. | |
| Dec 10, 2016 at 22:24 | vote | accept | Ben Johnson | ||
| Dec 13, 2016 at 13:31 | |||||
| Dec 10, 2016 at 21:08 | history | edited | jayhendren | CC BY-SA 3.0 | added 5 characters in body |
| Dec 10, 2016 at 4:08 | comment | added | chepner | Tilde expansion occurs much earlier, so by the time pathname expansion occurs, ~/.bash* would be seen as /home/bob/.bash* (i.e., unquoted tildes are long gone by the time the pattern matcher gets involved). | |
| Dec 9, 2016 at 22:48 | history | edited | jayhendren | CC BY-SA 3.0 | added 772 characters in body |
| Dec 9, 2016 at 22:34 | history | answered | jayhendren | CC BY-SA 3.0 |