On 05/28/2010 09:00 AM, Jim Meyering wrote: > Or better still, don't use echo at all, in case > some tag starts with "-": > > - && v=`echo $v | sed "$tag_sed_script"` \ > + && v=`printf %s "$v" | sed "$tag_sed_script"` \
Some sed required the trailing newline; you need to use: v=`printf %s\\n "$v" | sed "$tag_sed_script"` -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
