This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Ash manual/info. (was: Re: "==" operand not found)


On Thu, 24 Oct 2002, Gary R. Van Sickle wrote:

> > Randall R Schulz wrote:
> > >
> > > You're most likely accustomed on your Linux system to "/bin/sh"
> > > being BASH. On Cygwinm /bin/sh is ASH, and it is far more minimal
> > > in its implementation of the POSIX shell standard, and does not
> > > provide "==" as an equivalent for "=" in the "test" (a.k.a. "[")
> > > built-in.
> >
> > While there is an info file on bash, and even a man entry, there
> > seems to be nothing whatsoever about ash on the system.  If we are
> > not able to use the abilities of bash,
>
> Put "#!/bin/bash" (no quotes) at the top of the script in question and
> go nuts.
>
> As far as ash docs are concerned, a quick Google reveals little other
> than that ash apparently stands for "[Kenneth] Almquist's sh".  You'll
> probably have more success looking for "POSIX shell standards".

'man sh' should get you the ash manpage.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]