On Tue, 11 Jul 2000, Anthony Rumble wrote:

> Doesn't work in VI or sed.
> 
> > BTW: What are you trying to accomplish? What is the spec?
> 
> im trying to change $ord{ to $ord->{
> (Ie.. changing some perl source from a hash to a hashref)

Doh! Try this:

:1,$s/$ord/$ord->/g

Note that vi like perl is a smarty pants.
A $ is only interpreted as a line end if
it is the last char in the pattern.


--
Rick Welykochy || Praxis Services




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

Reply via email to