Timeline for Bash function to produce variants of images at 2X and 3X resolutions
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21, 2019 at 0:33 | vote | accept | black_pearl | ||
Feb 20, 2019 at 18:59 | comment | added | Toby Speight |
An alternative approach to matching [xX] would be to first downcase the string with expansion: newSize="${2,,}"; width="${newSize%%x*}" etc.
|
|
Feb 20, 2019 at 18:54 | history | answered | janos | CC BY-SA 4.0 |