'vi' is driving me crazy

Matthew Carpenter matt
Mon Dec 27 23:33:54 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

:%s/^stupid.*endofline/newtext/g

:%s/^KEY_[A-H].*//gi

:%s/^EDITOR=.*/EDITOR="vi"/

Granted, I only wish I could be prompted before replacing the text.
I've yet to see many editors which allow regex for search and replace.
- --
Matthew Carpenter
matt at eisgr.com                          http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Security Consulting, Incident Handling & Forensics
* Network Consulting, Integration & Support
* Web Integration and E-Business
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB0OLlso9lqh4MragRAvS5AKDVXId5eON3h5Bxt73/pmQJK4+HnACgyO29
kgWVgAu7iD3AijLU5sKGV04=
=U8uf
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list