4 ms·
>> I think it's easy to sort of gloss over how good shell scripts are at the sort of things they actually are good at. >> Consider this: > for f in *png; do
by pizza234 5y ago
>> I think it's easy to sort of gloss over how good shell scripts are at the sort of things they actually are good at.
>> Consider this:
> for f in *png; do convert $f $(echo $f | sed 's/png$/webp/'); done
This is buggy, and it actually represents exactly the problem with Bash scripting.