Re: Problem with variable
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Thu, 1 Jun 2006 13:53:55 -0400
On 2006-06-01, Marco wrote:
If you do not want the shell to expand $COMMON, use "$COMMON":
jar cmf META-INF/MANIFEST.MF classname.jar "$COMMON" ...
I try it, but doesn't work. I think that the shell MUST expand $COMMON,
but if I define $COMMON before creating *.class (as I must do), I
received a strange error (without nome of the file):
: impossibile trovare il file o la directory
[impossible to find the file or the directory]
What is $COMMON expanding to? Does it include an unexpanded
wildcard?
--
Chris F.A. Johnson, author <http://cfaj.freeshell.org>
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
.
- References:
- Re: Problem with variable
- From: Marco
- Re: Problem with variable
- Prev by Date: Re: Appending date-stamp to certain lines...
- Next by Date: Re: Problem with variable
- Previous by thread: Re: Problem with variable
- Next by thread: Re: Problem with variable
- Index(es):
Relevant Pages
|