Timeline for bash - Add an element before each item on array
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 5, 2020 at 2:36 | vote | accept | Bangaio | ||
| Jul 4, 2020 at 21:43 | history | became hot network question | |||
| Jul 4, 2020 at 17:59 | answer | added | Gordon Davisson | timeline score: 3 | |
| Jul 4, 2020 at 16:58 | comment | added | Bangaio |
I mean to make the, in this example, -e its own element. When doing that substitution, it would be added to the existing element, which wouldn't work correctly when using it as an argument as they would need to be separate tokens.
|
|
| Jul 4, 2020 at 16:28 | answer | added | Stéphane Chazelas | timeline score: 9 | |
| Jul 4, 2020 at 16:13 | comment | added | terdon♦ |
What can be more general than the "${exclude[@]/#/foo}" that you're using? That seems pretty general to me, what am I missing?
|
|
| Jul 4, 2020 at 13:42 | review | First posts | |||
| Jul 4, 2020 at 14:45 | |||||
| Jul 4, 2020 at 13:40 | history | asked | Bangaio | CC BY-SA 4.0 |