
4 May
2017
4 May
'17
12:38 a.m.
On Tue, 2 May 2017, Andrew McGlashan wrote:
# The ./ with the ls is there on purpose to make it safer # from potential globbing issues for old_fn in $(ls ./*.jpg)
Just stop it right now! Stop doing that! Just don't! `for old_fn in *.jpg` is all you need, all you want. Then make sure "$old_fn" is properly quoted elsewhere. http://porkmail.org/era/unix/award.html -- Tim Connors