Simon Richter <[EMAIL PROTECTED]> wrote:
>On Wed, 6 Sep 2000, Shaul Karl wrote:
>> I am trying to adjust a tcl program to the Debian policy by running a
>> sed command from within debian\rules. However this command seems to
>> do what I want from within a shell script but not from within
>> debian\rules.
>
>> sed -e '/\exec \/usr\/bin\/wish8.3 \$0 \${1+"\$@"}/a\$
>
>You need to escape the dollar signs as "$$" and probably the backslashes
>too.

No, the backslashes should be left alone here:

  [cjw44@riva ~]$ cat foo
  all:
        echo '\\$$'
  [cjw44@riva ~]$ make -f foo
  echo '\\$'
  \\$
  [cjw44@riva ~]$ 

-- 
Colin Watson                                     [[EMAIL PROTECTED]]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to