bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best to pass an array with specially characters as comma


From: Greg Wooledge
Subject: Re: What is the best to pass an array with specially characters as command line arguments?
Date: Mon, 7 Nov 2011 08:34:33 -0500
User-agent: Mutt/1.4.2.3i

On Mon, Nov 07, 2011 at 08:50:25AM +0000, Stephane CHAZELAS wrote:
> cmd='(set -f; IFS=" "; echo $verbatim_string)'
> eval "$cmd"

http://mywiki.wooledge.org/BashFAQ/050 -- I'm trying to put a command
in a variable, but the complex cases always fail!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]