I just gave a problem which has thrown me for a loop

I was editing a file using vi, with a number of "|" in it.  I wanted to
replace them with another character.

When I tried to do the following

:1,$s/\|//g

no changed happened, although vi says it large number of replacements
happened.

When I did the following
:1,$s/\|/aaaaa/g

aaaaa is added to the begining of every line

Anybody have know what is going on?

david




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to