ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Как сравнить даты файлов????
@ 2002-02-20  3:55 Alexander
  2002-02-20 12:35 ` [mdk-re] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander @ 2002-02-20  3:55 UTC (permalink / raw)
  To: Altlinux

Доброе время суток !!!

Есть два файла a и ./tmp/a
Надо узнать в скрипте кто из этих файлов старее а кто моложе (по дате)

Как это сделать в shell (bash) или при помощи perl???



-- 
Расчетно сервисный центр
Ведущий инженер
Сахаров А.В.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [mdk-re] Re: Как сравнить даты файлов????
  2002-02-20  3:55 [mdk-re] Как сравнить даты файлов???? Alexander
@ 2002-02-20 12:35 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2002-02-20 12:35 UTC (permalink / raw)
  To: Altlinux

On Wed, Feb 20, 2002 at 11:04:50AM +1000, Alexander wrote:
> Надо узнать в скрипте кто из этих файлов старее а кто моложе (по дате)
man test
/-nt

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ http://visa.chem.univ.kiev.ua/~mike/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-20 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20  3:55 [mdk-re] Как сравнить даты файлов???? Alexander
2002-02-20 12:35 ` [mdk-re] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git