[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unix date util in emacs shell
From: |
frank paulsen |
Subject: |
Re: unix date util in emacs shell |
Date: |
Tue, 30 Nov 2010 14:51:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Xah Lee <xahlee@gmail.com> writes:
> here's a oddity.
>
> on Cygwin bash on Windows Vista, i can get date like this:
>
> 「
> $ date
^^^
this is bash.
> but in emacs “shell”, running the same date command, i get this:
>
> 「
> c:\Users\xah\web\xahlee_org\comp>which date
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this is cmd.exe, and 'date' is an internal command of cmd.exe, unknown
to 'which'.
try to use bash instead of cmd:
http://www.emacswiki.org/emacs/NTEmacsWithCygwin
--
frobnicate foo