bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sed


From: Stephane Chazelas
Subject: Re: sed
Date: Wed, 14 Feb 2007 08:35:16 +0000
User-agent: Mutt/1.5.6i

On Tue, Feb 13, 2007 at 02:32:28PM -0800, Conner, Neil wrote:
[...]
> --Taking cues from Stephane's first email, my sed script looks like this now 
> and is working.
> 
> #! /bin/ksh
> exec 4< input
> read -r -u4 TEMP
> ALERT=`echo $TEMP | sed s/^K/\\\\\\\\v/g`
> print $ALERT 
[...]

You didn't take enough cues though, as you're still using echo
and are still leaving your variable expansions unquoted.

-- 
Stéphane




reply via email to

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