www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/19/12:55:44

From: jt AT boxhill DOT com (Jason Tishler)
Subject: Re: bash and the missing clear command
19 Feb 1997 12:55:44 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <330B5ADB.6DDA.cygnus.gnu-win32@boxhill.com>
References: <199702191658 DOT RAA27552 AT sp072 DOT cern DOT ch>
Reply-To: jt AT boxhill DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (WinNT; I)
Original-To: Valery Fine <Valeri DOT Faine AT cern DOT ch>
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Valery Fine wrote: 
>   May be
> 
>   $ComSpec /c cls
> 
>    will be  better

The above will not work under bash because the definition of COMSPEC
(at least on my machine) is a Windows style pathname (eg.,
C:\WINNT\system32\cmd.exe).  Hence, bash will complain as follows:

    $ $COMSPEC /c cls
    bash.exe: C:\WINNT\system32\cmd.exe: command not found

Jason

-- 
Jason Tishler                        Phone: +1 (212) 989-4455 ext. 120
Box Hill Systems Corporation         Fax:   +1 (212) 989-6817
161 Avenue of the Americas           Email: jt AT boxhill DOT com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019