<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 30, 2017 at 1:07 PM, Jeff Frontz <span dir="ltr">&lt;<a href="mailto:jeff.frontz@gmail.com" target="_blank">jeff.frontz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">set -o nullglob</blockquote></div><br>Sorry, &quot;shopt -o nullglob&quot;.</div><div class="gmail_extra"><br></div><div class="gmail_extra">For Korn shell, I typically do a &quot;test -f&quot; on either the wildcard or the file variable inside the loop.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Jeff</div><div class="gmail_extra"><br></div></div>