On 10/15/2024 08:40, Takashi Yano wrote:
On Wed, 16 Oct 2024 00:29:30 +0900
Takashi Yano wrote:
IFS=':'; for a in ${PATH[@]}; do find $a -name cygwin1.dll -exec ls -l '{}' \;
; done
Sorry, use
IFS=':'; for a in ${PATH[@]}; do find $a -maxdepth 1 -name cygwin1.dll -exec ls
-l '{}' \; ; done
instead.
$ IFS=':'; for a in ${PATH[@]}; do find $a -maxdepth 1 -name cygwin1.dll
-exec ls -l '{}' \; ; done
-rwxr-xr-x 1 jdeifik Administrators 2992181 Aug 25 10:00
/usr/bin/cygwin1.dll
find: '/cygdrive/c/Program Files (x86)/Common
Files/Oracle/Java/javapath': No such file or directory
-rwxr-xr-x 1 jdeifik Administrators 2992181 Aug 25 10:00
/usr/bin/cygwin1.dll
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple