Timeline for What does "${line#?}" mean in a script?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 13, 2020 at 21:09 | comment | added | John1024 | @chrylis-cautiouslyoptimistic- Good suggestion. I just added a section to mention suffix removal. | |
| Jul 13, 2020 at 21:08 | history | edited | John1024 | CC BY-SA 4.0 | added 223 characters in body |
| Jul 13, 2020 at 13:47 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 | OP didn't mention a shell. Clarify that `${..#..}` is not specific to bash |
| Jul 13, 2020 at 13:32 | history | edited | AdminBee | CC BY-SA 4.0 | Minor code formatting added |
| Jul 13, 2020 at 8:07 | comment | added | chrylis -cautiouslyoptimistic- | It might be helpful to mention that %/%% is also available (I use it far more often, to strip extensions). | |
| Jul 12, 2020 at 19:24 | vote | accept | user419050 | ||
| Jul 12, 2020 at 19:24 | comment | added | user419050 | That's what I kinda assumed, thanks for your answer! | |
| Jul 12, 2020 at 19:13 | history | answered | John1024 | CC BY-SA 4.0 |