Escaping spaces in arguments to shell script
Steven Erat
stevenerat at yahoo.com
Wed Apr 26 23:28:46 EDT 2006
Thanks to all who replied. I was able to resolve the problem with these
suggestions.
--- Jeff Kinz <jkinz at kinz.org> wrote:
> On Wed, Apr 26, 2006 at 09:56:23AM -0700, Steven Erat wrote:
> > Would someone kindly suggest the solution to passing input parameters
> to a
> > shell script where the arguments may contain spaces?
> >
> > Please refer to the example below.
>
> This is all covered here :
>
> How can I find and deal with file names containing newlines, spaces or
> both?
> http://wooledge.org/mywiki/BashFaq#faq20 --
>
> 20. How can I find and deal with files names containing newlines,
> spaces or both?
> http://shelldorado.dyndns.org/wiki/index.php/BashFaq#faq20
>
> >
More information about the Discuss
mailing list