delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/21/09:02:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=cfUa1YYA7334/jtG7BG4W27HkbZif
auz7/Y35kI2Mu6Z2WNIHX7wC0g3b3OGW3VqrjwVzTieyzhKoVl+0KN3xRXS66Uou
KY3Utn3/1DNYynqki4Smfjc0mTAG5HvSD2LeCiUqNlwMmrUPMe4hbHfEKMIoAyJ3
JR6CFWoNM7QREU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=T9vV9ieihaLjNxL9cujNm+OhMA4=; b=lvG
9vRdhD91l/XYNmaZwW1RjqGYvklU2tzwlGFpqHOc5ITje8bY2D4qbmJhNGwWLjOd
6Du6m1KAUA4OXD9fgYj1udwNfEPcfp+lMPb1JRRHcx/tVi9uY7P2jOnPHuotZEtl
0BkmgfxViZ+itRduAshz+bnnN82o1REduBaXfU+w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvgFAM9um1GcKEes/2dsb2JhbABZgwiDa7ssgmwNfBZtB4IgAQEEEhERVQIBCA0NAgYgAgICHRMVAgENAgQbGodrn0uKEJIdgSaNShYigkEyYQOOIo9Xin+DD4Im
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Patch for shutdown
Date: Tue, 21 May 2013 13:01:13 +0000
Message-ID: <6CF2FC1279D0844C9357664DC5A08BA20C1C13@MLBXV06.nih.gov>
References: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g AT mail DOT gmail DOT com> <519A2341 DOT 5030708 AT openafs DOT org> <002401ce5562$47768a30$d6639e90$%fedin AT samsung DOT com>
In-Reply-To: <002401ce5562$47768a30$d6639e90$%fedin@samsung.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id r4LD1xs1000329

Fedin Pavel sent the following at Monday, May 20, 2013 10:00 AM
> And following the same logic we would need to teach our find.exe (already mentioned on this list) to understand Windows options instead of UNIX options...

FYI, Windows find = grep

c:\> find /?
Searches for a text string in a file or files.

FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]

  /V         Displays all lines NOT containing the specified string.
  /C         Displays only the count of lines containing the string.
  /N         Displays line numbers with the displayed lines.
  /I         Ignores the case of characters when searching for the string.
  /OFF[LINE] Do not skip files with offline attribute set.
  "string"   Specifies the text string to find.
  [drive:][path]filename
             Specifies a file or files to search.

If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019