[klibc] Update ash-port to NetBSD-1.6.1

H. Peter Anvin hpa at zytor.com
Tue Jul 20 12:15:45 PDT 2004


Arnd Bergmann wrote:
> 
> Has anyone looked into porting sash? I have just built a minimal sash version
> containing only these:
> 
> echo pwd cd mkdir mknod rmdir sync rm chmod touch mv ln cp cmp more sum
> exit setenv printenv umask kill where help alias aliasall source exec prompt
> unalias
> 
> The original sash also contains some more that could be added:
> 
> ar chgrp chown dd ed file find grep ls more tar chattr lsattr gzip
> gunzip mount umount
> 
>  wc *.c *.h
>    1256    2521   16970 cmds.c
>      18      89     964 nop.c
>    1266    3032   20366 sash.c
>    1094    3083   19315 utils.c
>     152     716    4614 sash.h
>    3786    9441   62229 total
> 
> The binaries are less than half the size of ash (21 vs 74 kb for
> the shared version on s390).
> 

That sounds extremely promising.  I'm not familiar with sash, is it a 
full POSIX shell?

	-hpa



More information about the klibc mailing list