[Gllug] Pipe question
Tom Schutzer-Weissmann
trmsw at yahoo.co.uk
Sun Jan 22 20:22:04 UTC 2006
On Sun, 2006-01-22 at 17:22 +0000, Adrian McMenamin wrote:
> How can I do this?
[ snip ]
> To check whether a file has been rebuilt.
Surely the classic way to do this is to create a timestamp file before
doing the rebuild, and using the file tests built into find (-newer),
bash (-nt), perl, and others.
eg
~$ touch timestamp
~$ make
~$ # take a break...
~$ cat list_of_files_to_check | \
> | perl -ne \
> 'chomp; print "$_\n" if (-M $_ > -M "timestamp")'
regards,
Tom Weissmann
___________________________________________________________
Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list