Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 07:16:41 -0700
From:      merlyn@stonehenge.com (Randal L. Schwartz)
To:        Aiza <aiza21@comclark.com>
Cc:        RW <rwmaillists@googlemail.com>, freebsd-questions@freebsd.org
Subject:   Re: * wildcard in.sh script
Message-ID:  <86631knzxy.fsf@red.stonehenge.com>
In-Reply-To: <4C177363.2050308@comclark.com> (Aiza's message of "Tue, 15 Jun 2010 20:34:43 %2B0800")
References:  <4C173909.1050101@comclark.com> <4C174283.9090903@comclark.com> <20100615122014.44108373@gumby.homeunix.com> <20100615124709.254fe73e@gumby.homeunix.com> <4C177363.2050308@comclark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Aiza" == Aiza  <aiza21@comclark.com> writes:

Aiza> This is the output. want to build list only containing file names
Aiza> prefixed with job. Putting " " around the value on the command
Aiza> line worked. But before this can go to production will have to fix
Aiza> the code so no " " on the command value.

You can't fix your script to do that.  The expansion of '*' is a
function of the shell before it even gets to your script.  So this is
not possible.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>;
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86631knzxy.fsf>