grep, etc

Bob Stockler bob at trebor.iglou.com
Wed Aug 11 16:37:02 PDT 2004


On Wed, Aug 11, 2004 at 06:13:33PM -0400, Brian K. White wrote:
| 
| grep '-21[3-6]$' file
| 
| 
| Those are single right quotes.
| It works even if the matching records are not in numerical order and if a
| non-matching record happens to have "-214" somewhere in the other data
| before the end of the line.

You win.

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list