* Ralf Wildenhues wrote on Mon, Aug 14, 2006 at 10:44:56PM CEST:
> 
> More worryingly though, Tru64 5.1 sed does not parse the examples at
> all.  Weirdly, it seems that the `a' command does not work right after
> the `-e' option:

Ouch, I made an unintended error when copy and pasting:

> $ echo foo | sed -e 'a
> bar'
> sed: Function a cannot be parsed.

Above should have been:
$ echo foo | sed -e 'a\
bar'
sed: Function a cannot be parsed.
$

> $ echo foo | sed 'a\
> bar'
> foo
> bar
> $ echo foo | sed -e 'p;a\
> bar'
> foo
> foo
> bar
> $ echo foo | sed -e '
> a\
> bar'
> foo
> bar
> $


Reply via email to