[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



if [[ -z "$( print *.h(N) )" ]] ; then
  print no dot h files . . .
else
  frobnicate *.h
fi


The "(N)" suffix turns on nullglob for a single expansion.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00215" href="msg00215.html">[ale] Q: Bash: test for existence of any file matching a glib	pattern.</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
<li><strong><a name="00217" href="msg00217.html">[ale] Q: Bash: test for existence of any file matching a glib	pattern.</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00220" href="msg00220.html">[ale] Q: Bash: test for existence of any file matching a glob	pattern.</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00220.html">[ale] Q: Bash: test for existence of any file matching a glob	pattern.</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00222.html">[ale] CD-bootable distro (besides Knoppix)?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00220.html">[ale] Q: Bash: test for existence of any file matching a glob	pattern.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00218.html">[ale] Q: Bash: test for existence of any file matching a glib	pattern.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00221"><strong>Date</strong></a></li>
<li><a href="threads.html#00221"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>