File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -419,9 +419,9 @@ Example:
419
419
find-in-jars ' log4j\.properties'
420
420
find-in-jars ' ^log4j\.(properties|xml)$' # search file log4j.properties/log4j.xml at zip root
421
421
find-in-jars 'log4j\.properties$' -d /path/to/find/directory
422
- find-in-jars 'log4j \.properties' -d /path/to/find/dir1 -d path/to/find/dir2
423
- find-in-jars 'log4j\.properties ' -e jar -e zip
424
- find-in-jars 'log4j\.properties ' -s ' <-> '
422
+ find-in-jars '\.properties$ ' -d /path/to/find/dir1 -d path/to/find/dir2
423
+ find-in-jars 'Service\.class$ ' -e jar -e zip
424
+ find-in-jars 'Mon[^$/]*Service\.class$ ' -s ' <-> '
425
425
426
426
Find control:
427
427
-d, --dir the directory that find jar files, default is current directory.
Original file line number Diff line number Diff line change 4
4
#
5
5
# @Usage
6
6
# $ find-in-jars 'log4j\.properties'
7
- # $ find-in-jars '^log4j(\. properties|\. xml)$'
7
+ # $ find-in-jars '^log4j\.( properties|xml)$' # search file log4j.properties/log4j.xml at zip root
8
8
# $ find-in-jars 'log4j\.properties$' -d /path/to/find/directory
9
- # $ find-in-jars 'log4j\.properties' -d /path/to/find/directory1 -d /path/to/find/directory2
9
+ # $ find-in-jars '\.properties$' -d /path/to/find/dir1 -d path/to/find/dir2
10
+ # $ find-in-jars 'Service\.class$' -e jar -e zip
11
+ # $ find-in-jars 'Mon[^$/]*Service\.class$' -s ' <-> '
10
12
#
11
13
# @online-doc https://github.com/oldratlee/useful-scripts/blob/master/docs/java.md#-find-in-jars
12
14
# @author Jerry Lee (oldratlee at gmail dot com)
@@ -75,9 +77,9 @@ Example:
75
77
${PROG} 'log4j\.properties'
76
78
${PROG} '^log4j\.(properties|xml)$' # search file log4j.properties/log4j.xml at zip root
77
79
${PROG} 'log4j\.properties$' -d /path/to/find/directory
78
- ${PROG} 'log4j \.properties' -d /path/to/find/dir1 -d path/to/find/dir2
79
- ${PROG} 'log4j\.properties ' -e jar -e zip
80
- ${PROG} 'log4j\.properties ' -s ' <-> '
80
+ ${PROG} '\.properties$ ' -d /path/to/find/dir1 -d path/to/find/dir2
81
+ ${PROG} 'Service\.class$ ' -e jar -e zip
82
+ ${PROG} 'Mon[^$/]*Service\.class$ ' -s ' <-> '
81
83
82
84
Find control:
83
85
-d, --dir the directory that find jar files, default is current directory.
You can’t perform that action at this time.
0 commit comments