🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #325

Re: Bug/Feature in globbing

#325
From: Maarten Litmaath
Date: Fri, 14 Jul 1989 18:11
13 lines
934 bytes
bfox@AUREL.CALTECH.EDU (Brian Fox) writes:
\...	   for i in *
\	   do
\		   cat $i
\	   done
\... with "nullglobok" non-null, and no files in the current
\directory, the `cat' would hang, waiting for input, since `$i' would
\expand to nothing.

Think again, Brian: the body wouldn't get executed at all.
-- 
   "... a lap-top Cray-2 with builtin    |Maarten Litmaath @ VU Amsterdam:
cold fusion power supply"  (Colin Dente) |maart@cs.vu.nl, mcvax!botter!maart
Technical Details
Message-ID: <2876@kappl.cs.vu.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart
References: <5476@videovax.tv.Tek.com> <8907141311.AA07040@aurel.caltech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart
From: maart@cs.vu.nl (Maarten Litmaath)
Newsgroups: gnu.bash.bug
Subject: Re: Bug/Feature in globbing
Message-ID: <2876@kappl.cs.vu.nl>
Date: 14 Jul 89 18:11:52 GMT
References: <5476@videovax.tv.Tek.com> <8907141311.AA07040@aurel.caltech.edu>
Distribution: gnu
Organization: V.U. Informatica, Amsterdam, the Netherlands
Lines: 13