Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] [ot] finding a file in a java distribution ?

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] [ot] finding a file in a java distribution ?


Chronological Thread 
  • From: Tom Zeller <>
  • To: Arnaud Deman <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] [ot] finding a file in a java distribution ?
  • Date: Tue, 22 May 2012 11:35:12 -0500

Works.

Output at :

https://gist.github.com/2770083

Hmm, I wonder how revisions work. How about mobile ? Let's see...

On Tue, May 22, 2012 at 11:08 AM, Arnaud Deman
<>
wrote:
> Hello,
>
> Perhaps this could do what you want :
> for f in `find . -name '*jar'`; do res=` unzip -l $f | grep xsd | grep
> spring`; [ -n "$res" ] && echo -ne "$f :\n\n$res\n---\n"; done
>
> Best regards,
> Arnaud.
>
> Le mardi 22 mai 2012 à 10:44:21, Tom Zeller a écrit :
>> So I want to see if a file is in a java distribution directory. The
>> following does not work :
>>
>> >find ./ -name '*.jar' -exec unzip -l \{} \; | grep xsd | grep spring
>>     42117  03-23-12 15:02   schema/spring-beans-2.5.xsd
>>
>> I want the full path. Hints ?
>>
>> Thanks,
>> TomZ



Archive powered by MHonArc 2.6.16.

Top of Page