KSH Portability, Example on SGI IRIS Workstation

Richard Rosenthal richr at etl.ARPA
Fri May 6 23:23:42 AEST 1988


Portability of KSH...???

Here is a dribble file that shows the problem:

$ #in ksh...
$ /bin/ls -C -a
.            .cshrc       .history     .logout      bin          p
..           .environ     .indent.pro  .profile     flight       tcp
.alias       .exrc        .login       4d           misc         temp
$ #output from "echo *" is strange, so, have to send it to "od"
$ echo * | od -c
0000000             004   m   i   s   c     013   .   i   n   d   e   n
0000020   t   .   p   r   o       g   i   n       l   o   g   o   u   t
0000040       s       s   t   o   r   y     240 036 375 371 245 363 355
0000060 351 303 344 336 240 330 324     300 307 271 262 254  \n
0000076
$ sh
$ echo *
4d bin flight misc p tcp temp
<eof>

So, commands like this do not work:

$ ls *
$ ls *.c

FACTS:

Silicon Graphics IRIS 4D/60 Turbo
UNIX System V Release 3.2 IP4 Version 2 with Berkeley enhancements
MIPS CPU R2000
MIPS FPP R2010

$ what /bin/ksh
/bin/ksh:
	Version 06/03/86a

I obtained ksh from Toolchest on 21 April 1988 and built it using supplied
files without any intervention.

Besides this problem, ksh seems to work fine on the Silicon Graphics 4D/60.

I also tried building a 7-bit version of ksh as per the installation
instructions but that did not change things.

I note this problem without knowing exactly what question to ask about it.

-- 
Richard Rosenthal                            | ARPANET:  richr at etl.arpa
US Army Engineer Topographic Laboratories    | UUCP:     ???
Ft. Belvoir, VA 22060-5546                   | PHONE:    +1 202 355 2830



More information about the Comp.unix.questions mailing list