find - Execute find command
%find-com - Find command line
n find "base-path" "file-search"
%find-com "string"; Default is "find"
find executes the find(1) command with the command line set by the %find-com(5) variable and the user supplied base-path and file-search regular expression. The output of the command is piped into the *find* buffer.
If an argument is given then a pipe-shell-command(2) is used instead of ipipe-shell-command(2), this is useful when used in macros as it ensures that find has finished before the command returns.
The find command is specified by the macro variable %find-com if not defined then the default find is used. The command line run by find is
%find-com -name "base-path" -name "file-search" -print
The resultant files found are displayed in the *find* buffer and may be selected by double-clicking with the mouse left button or selecting the line with a <RETURN>. The selected file under the cursor is loaded.
The find command does not typically need to be set up in UNIX environments. In the Microsoft Windows environment then the UNIX tools for Windows are recommended, available from:
http://unxutils.sourceforge.net/
The find command may be set up in the startup files as follows:-
set-variable %find-com "c:/usr/local/wbin/find.exe"
%grep-com(5), find(1), find(3), get-next-line(2), grep(1), grep(3), rgrep(3).
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/03/17
Generated On: 2006/10/07