On 01/18/2011 12:36 AM, Fabrice Niessen wrote:
> --8<---------------cut here---------------start------------->8---
> sh: line 2: unexpected EOF while looking for matching `''
> sh: line 10: syntax error: unexpected end of file
> --8<---------------cut here---------------end--------------->8---
> 
> This is due to the apostrophe in the French labels (of the header line of this
> Excel CSV file) -- but people report me that exact same script works under
> Linux...
> 
> Any idea on how to:
> - circumvent this problem?
> - or, eventually, do this better?

This is a known bug in $() parsing in older versions of bash that has
since been fixed in newer upstream bash.  Try using the experimental
bash 4.1.9-1 instead.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to