-
Couldn't load subscription status.
- Fork 1.9k
SC2177
Nikolay Chashnikov edited this page Mar 24, 2021
·
3 revisions
time for i in *.bmp; do convert "$i" "$i.png"; donetime sh -c 'for i in *.bmp; do convert "$i" "$i.png"; done'time is only defined for Simple Commands by POSIX. Timing loops, command groups and similar is not.
None. If you use a shell that supports this (e.g. bash, ksh), specify this shell in the shebang.