THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700
rodwelch@pacbell.net
S U M M A R Y
DIARY: March 3, 2005 08:32 AM Thursday;
Rod Welch
Cygwin installed for general file search support.
1...Summary/Objective
..............
Click here to comment!
CONTACTS
SUBJECTS
Cygwin Installed on C14 Open Source Free Download from Red Hat Used
0403 -
0403 - ..
0404 - Summary/Objective
0405 -
040501 - Follow up ref SDS 1 0000.
040502 -
040503 - Installed cygwin for finding files with particular content, since
040504 - this does not seem to work with Windows XP. The find command seems
040505 - to have complex procedures for specifying a search.
040506 -
040507 -
040508 -
040509 -
040510 -
040511 -
040513 - ..
0406 -
0407 -
0408 - Progress
0409 -
040901 - Called Morris.
040902 -
040903 - He said there is a program....
040904 -
040905 - cygwin
040906 -
040907 - ...people use for running a Linux application which has search
040908 - features to supplement limitations in Windows XP reported on 050228.
040909 - ref SDS 1 F05I
040910 -
040911 - [On 050516 new Microsoft search techology released, seems to have
040912 - defects similar to search function in Windows XP. ref SDS 3 606J
040914 - ..
040915 - Found a source on the Internet that explains cygwin....
040916 -
040917 - http://www.redhat.com/software/cygwin/
040919 - ..
040920 - Downloaded cygwin at...
040921 -
040922 - http://www.cygwin.com/
040924 - ..
040925 - Saved the installation files in...
040926 -
040927 - g: 00 cygwin
040929 - ..
040930 - Online guidance says there is an install.exe program, but this is not
040931 - evident in the files downloaded.
040933 - ..
040934 - Using the online setup.exe program again, there is an option to
040935 - install from the local directory. Selected this and...
040937 - ..
040938 - Install cygwin in....
040939 -
040940 - h: 00 48
040942 - ..
040943 - The program gives a $ prompt.
040944 -
040945 - $ mem command shows 632K of memory.
040947 - ..
040948 - No other standard DOS commands seem to work.
040949 -
040950 - For example, cannot change the directory.
040951 -
040953 - ..
040954 - Online Help yielded a command...
040955 -
040956 - $ cygcheck
040957 -
040958 - ...with a bunch of options.
040960 - ..
040961 - Examined various directories, and found commands in....
040962 -
040963 - h: 00 48 bin
040965 - ..
040966 - Copied e.exe into the ...bin dir, and found that e.exe executes and
040967 - seems to run normally for Medit.
040969 - ..
040970 - Copied the SDS program call into the ...bin dir, and found that SDS
040971 - seems to run normally. All of the DOS commands execute with Morris'
040972 - dose command, even though none of the commands execute at the cygwin
040973 - prompt, per above. ref SDS 0 E69K
040975 - ..
040976 - There is a command...
040977 -
040978 - h: 00 48 bin find.exe
040980 - ..
040981 - This may be the program Morris mentioned this morning. ref SDS 0 HT5I
040983 - ..
040984 - Research on the Internet indicated that a command...
040985 -
040986 - help find
040987 -
040988 - ...might provide syntax.
040990 - ..
040991 - Tried this and got a message to run...
040992 -
040993 - $ info find
040995 - ..
040996 - This produced a listing with possibly something helpful.
040997 -
040998 - The syntax appears to work with grep somehow for searching
040999 - subdirectories.
041000 -
041001 - Syntax seems very complex, per examples...
041002 -
041003 - /usr/b n/find "." \( ! -name \*.pch -a ! -path \*CVS\* \) | jar cvf@ ..\\archive.zip
041005 - ..
041006 - usr/bin/find . -type f -a ! -name \*.pch -a ! -path \*CVS\* | /usr/local/bin/jar cvf@ ../archive.jar
041007 -
041008 - /usr/bin/find . -type f -a ! -name \*.pch -a ! -path \*CVS\* -print0 | xargs -r0 tar cjvf ../archive.tar.bz2
041009 -
041010 -
041012 - ..
041013 - Instructions:
041014 -
041015 - $ man grep [Enter]
041017 - ..
041018 - This gives instructions. Enter is one line at at time, and Space bar
041019 - is a page at at time.
041020 -
041021 - $ grep morris filename
041023 - ..
041024 - The -i switch is case sentitive, and -r looks at subdirectories
041025 -
041026 - $ grep -i -r morris d:/sd/08/00101/02/05
041028 - ..
041029 - Searching for a string requires delimiters...
041030 -
041031 - $ grep -i -r 'talk is cheap' d:/sd/08/00101/02 > c:/sd/10/x
041032 -
041034 - ..
041035 - This seems to work well.
041036 -
041037 - [On 050516 new Microsoft search techology released, seems to have
041038 - defects similar to search function in Windows XP. ref SDS 3 606J
041039 -
041040 -
041041 -
041042 -
041043 -
041044 -
041045 -
041046 -
0411 -