On Sat, Dec 04, 2010 at 05:29:49PM -0700, Joshua Gimer wrote:
> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline <[email protected]> wrote:
> 
> > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g
> 
> Why not just %s/[0-9]*/foo/g
> 


        So I just missed the "*"?  Didn't need to escape the [ or ] ?
        ---I'll give it a try, thanks!

        gary

        PS: See, this is why I keep cheatsheets.  ;)

> -- 
> Thanks,
> Joshua Gimer
> 
> ---------------------------
> 
> http://www.linkedin.com/in/jgimer
> http://twitter.com/jgimer
> http://itsecops.blogspot.com/

-- 
 Gary Kline  [email protected]  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 7.97a release of Jottings: http://jottings.thought.org

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to