On Thu, Mar 08, 2001 at 11:36:08AM +1100, Ken Yap wrote:
> |/fl# echo foo | sed 's/$/^M/'
> |> sed: garbled command s/$/
> |/fl# 
> 
> I think the ash you have does a bad job of parsing, not quoting things
> inside 's. You could try something like
> 
>       echo foo | sed 's/$/|/' | tr '|' '\015'
> 
> assuming | doesn't appear in the text. Or maybe some control character
> that doesn't confuse ash. Works for me with ^A.
>

alas, no tr on tomsrtbt...    deeply depressing

there is however, mawk which claims to be 100% 1988 awk complient.

As yet I am awk illiterate, but I've got the book open  and I'm about 
to become an awker/awkoligist/awkeneer whatever. Unless somebody can 
save me.

g

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to