Re: Broken substitution

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

 



On Wed, 2009-07-29 at 17:13 -0400, Warren Togami wrote:
> Upstream dhclient writes out \032 instead of a space if multiple search 
> domains are specified in dhcpd.conf.  It has been this way for years. 
> Debian and Fedora have worked around this by doing the below bash 
> substitution.  Upstream has rejected fixing this in dhclient for 
> different reasons.
> 
> The substitution below works on bash but not dash.
> 
> Dillow suggested this method that will work with bash and dash. 
> Unfortunately I now noticed that this seems to remove the space between 
> search domain entries.

What are you talking about?

# dash
$ t="1 2"
$ printf "$t"
1 2$ 

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux