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:
419419 find-in-jars ' log4j\.properties'
420420 find-in-jars ' ^log4j\.(properties|xml)$' # search file log4j.properties/log4j.xml at zip root
421421 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 ' <-> '
425425
426426Find control:
427427 -d, --dir the directory that find jar files, default is current directory.
Original file line number Diff line number Diff line change 44#
55# @Usage
66# $ 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
88# $ 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 ' <-> '
1012#
1113# @online-doc https://github.com/oldratlee/useful-scripts/blob/master/docs/java.md#-find-in-jars
1214# @author Jerry Lee (oldratlee at gmail dot com)
@@ -75,9 +77,9 @@ Example:
7577 ${PROG} 'log4j\.properties'
7678 ${PROG} '^log4j\.(properties|xml)$' # search file log4j.properties/log4j.xml at zip root
7779 ${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 ' <-> '
8183
8284Find control:
8385 -d, --dir the directory that find jar files, default is current directory.
You can’t perform that action at this time.
0 commit comments