[Top][All Lists]
[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.
- sed command, Tran, Dick, 2001/06/04
- Re: sed command,
Hans-Bernhard Broeker <=