This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Patch for shutdown
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 21 May 2013 13:01:13 +0000
- Subject: RE: Patch for shutdown
- References: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g at mail dot gmail dot com> <519A2341 dot 5030708 at openafs dot org> <002401ce5562$47768a30$d6639e90$%fedin at samsung dot com>
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.