Re: Problem with variable



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
.



Relevant Pages

  • Re: Problem with variable
    ... I think that the shell MUST expand $COMMON, ... but if I define $COMMON before creating *.class, ... impossibile trovare il file o la directory ...
    (comp.unix.shell)
  • Re: All or Nothing and shells...
    ... Not if both sides are firing HE and Common. ... If you, or they, are hitting yet. ... as splinters from common shell are good at making holes in ... thin armour prevents ...
    (sci.military.naval)
  • Re: Two questions about mains arguments
    ... globbing filenames, for example, certainly handles some common and ... With Unix, one of the first rules to be impressed on novice programmers is ... you aren't fighting the shell. ...
    (comp.lang.c)
  • Re: Common shell and All-Or-Nothing
    ... Any views on how effective Common or CPC shell would have been against ... of all-or-nothing ships, like the Admiral-class of the 1880s (I'm ... ends - and sometimes ships were retrofitted with them (Nelson, ...
    (sci.military.naval)
  • Re: Common shell and All-Or-Nothing
    ... I am unable to find what "common" means wrt to shells/shot. ... in steel common shell filled with powder, guncotton, or Lyddite with a few ... Common shells were made of cast iron or steel ...
    (sci.military.naval)