>>>>> "Joshua" == Joshua Gimer <jgi...@gmail.com> writes:

Joshua> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline <kl...@thought.org> wrote:
>> I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g

Joshua> Why not just %s/[0-9]*/foo/g

Because that would turn a line of "fred" into "foofred". :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to