>>>>> "Andreas" == Andreas Metzler <[EMAIL PROTECTED]> writes:

> I am rather fluent in sh, but need to look up "shopt -s xpg_echo". This
> is tooo ugly. Just use
> -        echo -e ",s/RUNFROM=.*/RUNFROM=$RET/\nw" \
> +        printf ",s/RUNFROM=.*/RUNFROM=$RET/\nw\n" \
> or grab the patch from the bts and use sed instead of ed (you'll need to
> depend on sed >=3.95).

Or simply remove the -e option. builtin echo parses "\n" in bash as well as
dash. 

Ganesan

-- 
Ganesan R (rganesan at debian dot org) | http://www.debian.org/~rganesan/
1024D/5D8C12EA, fingerprint F361 84F1 8D82 32E7 1832  6798 15E0 02BA 5D8C 12EA

Reply via email to