faqts : Computers : Programming : Languages : Tse : Search

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

TSE: File: Search: Regular expression: Grep: Parameter: Which are the parameters of grep.exe?

Mar 26th, 2006 06:31
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 26 March 2006 - 02:41 pm ----------------------

TSE: File: Search: Regular expression: Grep: Parameter: Which are the 
parameters of grep.exe?

---

Steps: Overview:

 1. Open an MSDOS box and type the following command:

     <your path to your TSE>\grep.exe

    1. -E.g.

         c:\TSE\grep.exe

 2. -That will show a screen output similar to the following:

--- cut here: begin --------------------------------------------------

SemWare Grep v2.0 for Win32 [Jun 12 2003]

Copyright 1996-2003 SemWare Corp. All rights reserved worldwide.

 usage: grep [-bfimnsvwx01 -c-] searchstring file(s)

  -0  display file names only

  -1  display first matching line only

  -b  blank before fn line

  -c- do not display copyright message

  -f  display filename on each line

  -f- do not display any filenames

  -i  ignore case

  -m  display only non-matching lines

  -n  display line numbers

  -s  search subdirectories (-d accepted too)

  -v  verbose

  -w  words only

  -x  use regular expressions (same syntax as TSE Pro)

--- cut here: end ----------------------------------------------------

===

Internet: see also:



----------------------------------------------------------------------