Re: Most Difficult Question EVER!!
- From: "Will" <wisaunders@xxxxxxxxx>
- Date: 28 Mar 2007 13:57:26 -0700
On Mar 28, 2:21 pm, "Chris F.A. Johnson" <cfajohn...@xxxxxxxxx> wrote:
On 2007-03-28, Will wrote:
On Mar 28, 1:53 pm, "Chris F.A. Johnson" <cfajohn...@xxxxxxxxx> wrote:
On 2007-03-28, Will wrote:
I tried this: It returns nothing
------------------------------------------------------------------------------------
NonEmptyFiles=$( find *.phy -type f -size +0 )
for EachFile in $NomEmptyFiles
do
echo "test"
done
-------------------------------------------------------------------------------------
find *.phy -type f -size +0 does return what i am looking for
Fix the typo in the variable name in the for line.
--
Chris F.A. Johnson, author <http://cfaj.freeshell.org/shell/>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
got it working
thanks
.
- References:
- Most Difficult Question EVER!!
- From: Will
- Re: Most Difficult Question EVER!!
- From: Chris F.A. Johnson
- Re: Most Difficult Question EVER!!
- From: Will
- Re: Most Difficult Question EVER!!
- From: Chris F.A. Johnson
- Most Difficult Question EVER!!
- Prev by Date: Re: Most Difficult Question EVER!!
- Next by Date: how to expect a string
- Previous by thread: Re: Most Difficult Question EVER!!
- Next by thread: how to expect a string
- Index(es):
Relevant Pages
|
|