# find jar files       to execute zipinfo    pipe to to awk '/regexp condition/{expression}' pipe to awk 'row num ==1{print found file}; {print zipinfo file}'
find lib -name '*.jar' -exec sh -c "zipinfo {} | awk '/.*NameAbbreviator.*/{print \$0}'        | awk 'NR==1{print \"\n{}\"}; {print \$0}'" \;

What to read next

Previous / Next
Previous: Design of everyday things - fundamental principles of interaction - Presentation Next: Docker - container - start and stop container
More like this
Subscribe via RSS: Macro · Tech

Tags:

Updated: