• Post Reply Bookmark Topic Watch Topic
  • New Topic

commands for grep the class  RSS feed

 
Kee Kee moon
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to to grap particular java class in *.jar files on windows XP.
jar tvf myJar.jar | grep .....

Thanks
 
fred rosenberger
lowercase baba
Bartender
Posts: 12562
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To the best of my knowledge, 'grep' is not a windows tool, but a Unix one. Having said that, I believe there are some third party utilities you can download and install to give you a grep-like option on the command line...i think one is called cygwin?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!