delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/24/00:07:24

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Question about "find"
24 Jun 1997 00:07:24 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC808C.CB39F080.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'William A. Nagy'"
<nagy AT watson DOT ibm DOT com>
Encoding: 19 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

William A. Nagy wrote:
> Has anyone had success in getting "find" to work with the -exec option
> under the Windows shell (cmd.exe)?  I've tried about every combination
> that I can think of, but I keep getting:
> 
> find: missing argument to '-exec'
> 

H:\usr\src\cygnus\cdk>find winsup -name "*time*" -exec ls -l {} ;
-rw-r--r--   1 Administ Domain U      263 Dec 03  1996 winsup/include/utime.h
-rw-r--r--   1 Administ Domain U    11345 Jun 07 23:11 winsup/times.cc

Note the blank before ";".

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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