help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unix date util in emacs shell


From: Xah Lee
Subject: unix date util in emacs shell
Date: Tue, 30 Nov 2010 04:45:50 -0800 (PST)
User-agent: G2/1.0

here's a oddity.

on Cygwin bash on Windows Vista, i can get date like this:

「
$ date
2010-11-30  4:40:48 AM PST

xah@xah-PC ~
$ date +%s
1291120855
」

but in emacs “shell”, running the same date command, i get this:

「
c:\Users\xah\web\xahlee_org\comp>which date
which date
/usr/bin/date

c:\Users\xah\web\xahlee_org\comp>date
date
The current date is: 2010-11-30
Enter the new date: (yy-mm-dd)


c:\Users\xah\web\xahlee_org\comp>date +%s
date +%s
The system cannot accept the date entered.
Enter the new date: (yy-mm-dd)


」

any idea what's going on?

 Xah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]