[clue-tech] question on commands

mike havlicek mhavlicek1 at yahoo.com
Thu Mar 10 11:36:27 MST 2005


Its always fun to put a little grep in the exec option
too (echo and redirect for more fun) ... rather than
the edit.

-Mike

--- "Jed S. Baer" <thag at frii.com> wrote:
> On Wed, 9 Mar 2005 19:30:18 -0700
> Jeff Cann wrote:
> 
> > When I want to find a file and then immediately vi
> it it:
> > 
> > $ find . -name application.properties
> > ./WEB-INF/classes/application.properties
> > 
> > $ vi ./WEB-INF/classes/application.properties
> > 
> > Is there a way to do this in a single command ?
> 
> $ find -name filename -exec vi {} \;
> 
> -- 
> http://s88369986.onlinehome.us/freedomsight/
> Key fingerprint = B027 FEFB 4281 CC72 67D1  4237
> F2D0 D356 077A A30E
> ... it is poor civic hygiene to install technologies
> that could someday
> facilitate a police state. -- Bruce Schneier
> _______________________________________________
> CLUE-tech mailing list
> CLUE-tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the clue-tech mailing list