fileswith

The fileswith script displays the names of files which contain a given string. All the files are in the current directory. Execute fileswith as follows:


    fileswith text...

Example

I usually use the script as in the following example:


    vi `fileswith errno`

fileswith

The fileswith script calls sed(1) and grep(1) to get a list of files.

Home