The "." is repeat last action... but... Here is a how-to site on vi
http://helpme.scudc.scu.edu/vi-use.html -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Mason Sent: Friday, June 14, 2002 2:51 PM To: [EMAIL PROTECTED] Subject: RE: OT: vi and "|" - Another vi question How do you repeat the last action in vi? I run a search and replace on a line, then need to do it on another line, do I have to retype it? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Talkington Sent: Friday, June 14, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: Re: OT: vi and "|" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dbrett wrote: >When I tried to do the following > >:1,$s/\|//g > >no changed happened, although vi says it large number of replacements >happened. Drop the escape: s/|//g Cheers -d - -- David Talkington PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.75-6 iQA/AwUBPQoi779BpdPKTBGtEQJ8XwCfXjYnS/uFjX4ncGoirVq1TQA2OfsAn2/V eVzsSVDjMWqUoPKeawag9xQV =F4dP -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list