[net.sources] Is 'ksh' available.

jos@anwar.UUCP (John Schneider) (11/08/84)

A few people at my company (including myself) have expressed an 
intrest in 'ksh'. I have seen 'ksh' scripts on the net occasionally
and have read about it in Kochan & Wood's "Exploring the Unix System".
I do not know much else about it and would appreciate any sending 
me some documentation and or source (this is the "is it available"
question). I would also like to know when ATT plans to distribute 
it (for my own knowledge). 	
				Thanks in advance,
					jos.
					John Schneider.
					decvax!philabs!hhb!jos

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (11/12/84)

My impression is that the Korn shell is not generally available
outside AT&T.  Meanwhile, various ksh-like features have been
appearing in the official Bourne shell.  At BRL, Ron Natalie has
added csh-style job control to the SVR1 and SVR2 Bourne shells;
of course, this works only on kernels having appropriate support
(i.e., 4.1BSD & 4.2BSD; don't know about 2.9BSD).  This means
we now have shell functions (generalization of csh "alias"),
built-in "echo" & "pwd" (I fixed the symbolic-link behavior of
"pwd" for 4.2BSD to act like something sensible instead of
following ".." literally), and job control.  About the only csh
feature still lacking is a command history mechanism; probably
a tcsh-like editing facility but without using termcap would be
the way to go for this.

	Committee to Stamp Out Csh

rwl@uvacs.UUCP (Ray Lubinsky) (11/13/84)

> My impression is that the Korn shell is not generally available
> outside AT&T.  Meanwhile, various ksh-like features have been
> appearing in the official Bourne shell.  At BRL, Ron Natalie has
:
:
> 	Committee to Stamp Out Csh

------------------------------------------------------------------------------

I'm intrigued.  Could somebody in the know please post a brief description of
ksh?  What makes it so much better than csh (or sh, for that matter)?  Is it
easier to program?  More convenient for command-line operations?  What?

Thanks in advance!

------------------------------------------------------------------------------

Ray Lubinsky		     University of Virginia, Dept. of Computer Science
			     uucp: decvax!mcnc!ncsu!uvacs!rwl

jkh@ski.UUCP (Jordan K. Hubbard) (11/14/84)

> 
> A few people at my company (including myself) have expressed an 
> intrest in 'ksh'. I have seen 'ksh' scripts on the net occasionally
> and have read about it in Kochan & Wood's "Exploring the Unix System".
> I do not know much else about it and would appreciate any sending 
> me some documentation and or source (this is the "is it available"
> question). I would also like to know when ATT plans to distribute 
> it (for my own knowledge). 	
> 				Thanks in advance,
> 					jos.
> 					John Schneider.
> 					decvax!philabs!hhb!jos

Me too! Me too! Anybody got it?

adm@cbneb.UUCP (12/05/84)

As far as I know (which I admit may not be very far), there are no
plans to distribute ksh outside AT&T at this time.  I personally wish
AT&T would, since it would be great to see some ksh nifties in net.sources!

-An AT&T employee who uses ksh (and even once or twice spoke with Mr. Korn)

serge@ucbvax.ARPA (Serge Granik) (12/09/84)

> As far as I know (which I admit may not be very far), there are no
> plans to distribute ksh outside AT&T at this time.  I personally wish
> AT&T would, since it would be great to see some ksh nifties in net.sources!
> 
> -An AT&T employee who uses ksh (and even once or twice spoke with Mr. Korn)

	Having heard a lot about ksh and seen some ksh scripts, which seem
to allow function definitions with local variables (including arrays!!!),
I would at least like to look at the man page for it.  If this is possible
and does not violate any laws, trade secrets, etc., can someone post it?

							Serge Granik
							serge@Berkeley.ARPA
							...!ucbvax!serge