SCIENTIFIC-LINUX-USERS Archives

November 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Alessio Curri <[log in to unmask]>
Reply To:
Alessio Curri <[log in to unmask]>
Date:
Wed, 29 Nov 2006 20:12:16 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (316 bytes) , smime.p7s (3432 bytes)
Manuel Mussini ha scritto:
> Does anybody know why this sequence does not work (under bash on SLF3.0.5)?
>
> ext="log"
> files=`find . -name '*.${ext}' -print`
> echo $files
>
> I think that the syntax is correct! Isn't it?
>
> Bye...
>   
Hi,
Try using " instead '

ext="log"
files=`find . -name "*.${ext}" -print`
echo $files


Alessio



ATOM RSS1 RSS2