#!/usr/local/rexx/rxx /* * FI * * FI is a program that allows you to invoke the 'find' command * without having to type (or remember) its syntax. * * Execute the FI program by typing * * fi * * where is the string being sought and is the * filesystem to use. If you do not enter , the program * uses the default of /usr. may not be specified as root. */ parse arg name fs traceopt trace value traceopt if fs="" then fs="/usr" /* most interesting stuff is in /usr */ if fs="/" then say "I REFUSE TO SEARCH FROM ROOT!" /* many slow nfs links there!! */ else "find" fs "-name" name "-print"