git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Use find instead of perl in t5000 to get file modification time

From
Jeff King <peff@peff.net>
Date
Oct 29, 2008, 21:54 UTC
Message-ID
<20081029215444.GA19874@sigill.intra.peff.net>
In-Reply-To
<81b0412b0810290338j1beaa25bx9fb373a69f5dfe7@mail.gmail.com>
On Wed, Oct 29, 2008 at 11:38:32AM +0100, Alex Riesen wrote:
> There can be a problem with "-printf": Open Group SUS does not specify
> -printf for find(1), so it is probably a problem somewhere. I just don't know.
> [...]
> +     find extract/a/a -printf "%T@\\n" >b.mtime &&

$ uname -sr FreeBSD 6.1-RELEASE-p17-jc1 $ find . -printf "%T@\\n" find: -printf: unknown option

> There is always a fallback, which is to write a small program which calls
> native stat(2). Or modify test-chmtime to just print mtime when asked.
I think that makes the most sense.
-Peff
Previous: Alex RiesenNext: Alex Riesen
Message 2 of 14 in “Use find instead of perl in t5000 to get file modification time”
  1. Use find instead of perl in t5000 to get file modification timeAlex Riesen, Oct 29, 2008
  2. Jeff KingOct 29, 2008
  3. Alex RiesenOct 30, 2008
  4. Sam VilainOct 30, 2008
  5. Alex RiesenOct 31, 2008
  6. Peter HarrisOct 31, 2008
  7. Alex RiesenOct 31, 2008
  8. Johannes SchindelinOct 31, 2008
  9. Alex RiesenOct 31, 2008
  10. Johannes SchindelinNov 1, 2008
  11. Alex RiesenNov 1, 2008
  12. Johannes SchindelinNov 1, 2008
  13. Alex RiesenNov 2, 2008
  14. Johannes SchindelinNov 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.