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

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

Re: sed command


From: Hans-Bernhard Broeker
Subject: Re: sed command
Date: 5 Jun 2001 12:29:41 GMT

Tran, Dick <address@hidden> wrote:
> dear helpful,

> i am having difficulty executing the following...

> sed $a\chicken temp

Insufficient quoting, unless you're using a very strange kind of shell.
You'll need something like

        sed '$a\chicken' temp

to avoid the shell trying to interpret $a as a reverence to a
shell/environment variable, and \c as a backslash-escaped sequence.




-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.



reply via email to

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