Welcome to my tool page!


In this page you can find some search tools that I wrote in perli, and some Vi command tricks.

1) The script, findUni.pl, is for you to seach a string or strings on Unixi machine. It is much handier than the command 'find' provided on Unix machine.

It allows you to search current directory and ALL its subdirectories under it for a string ( or strings ). Example use of the script is:

%> perl findUni.pl string_to_find

%> perl findUni.pl string_one_to_find, string_two_to_find, string_three_to_find

If the string to be searched for contains blank space, use the following example to do search:
%> perl findUni.pl word_one\sword_two
where \s stands for space in regular expression.

You can issue the search command from the root directory.

When you are doing search, case is sensitive.

The screen will display the search results, the search results are also stored in your user home directory, in a file named perlFindResult.txt.

2) The script, findWin.pl, is very similar to findUni.pl except that it is for you to run it on Windows operating system.
The usage of the script, findWin.pl is exactly the same as findUni.pl. The screen will also display the search results, the search results file ( named perlFindResult.txt ) is stored on the directory where you issue the search command.



Click to get Vi command tricks

Hosted by www.Geocities.ws

1