Re: GREP Unix command
- From: "FrankV" <FrankV@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Dec 2006 13:51:17 -0500
There is a DOS 'grep' from way back in the '80s where there was a library of
many standard UNIX comands for DOS. Each time I get a new computer the first
thing I do is download all the programs. Here is the "grep /?" response:
Name: grep - regular expression search through files
Usage: grep [ -vclins? ] <pattern> file1 ...
Version: 2.0 for PCs with DOS 2.1 and higher
(C) Copyright Peter Stephen Heitman 1986 -- All Rights Reserved
Distributed with the PiCnix Package (tm) by Peter Stephen Heitman
Regular expression pattern matching algorithm:
Copyright (c) 1986 by University of Toronto.
Written by Henry Spencer. Not derived from licensed software.
The options for grep are:
-v: print the lines that DON'T match the pattern
-c: print a count of the number of matches in each file
-l: print the name of each file that has a match
NOTE: options v, c and l are exclusive. Only one of these may be selected
-i: ignore the case of each character while matching
-n: print the line number that the match occurred on
-s: do not report errors encountered while opening or reading files
-?: print this description of the program.
The 'PiCnix Package (tm)' can be downloaded from
http://sourceforge.net/project/showfiles.php?group_id=41329.
Frank
"Kamlesh" <Kamlesh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0FE58CA1-601B-4624-8358-FC52D7C55C63@xxxxxxxxxxxxxxxx
Whats the Unix GREP command equivalent in Windows?
Is there any alternative command which can be used like GREP?
I am looking for a Microsoft inbuilt solution instead of installing any
third-party tools.
Please advice.
.
- Prev by Date: too slow too swappin
- Next by Date: Downloading FlashPlayer
- Previous by thread: Re: GREP Unix command
- Next by thread: Re: Message problem
- Index(es):
Relevant Pages
|