[klibc] Update ash-port to NetBSD-1.6.1
hare at suse.de
Wed Jul 21 10:30:02 PDT 2004
H. Peter Anvin wrote:
> Arnd Bergmann wrote:
>> Has anyone looked into porting sash? I have just built a minimal sash
>> 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
>> 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?
Nope. It supports only a limited functionality (e.g. no pipes), and the
calling sequence for the built-ins is interesting (have to be called
with '-' in front of them).
I'd rather not having this as the default shell as this would mean a
complete rewrite of all scripts.
Dr. Hannes Reinecke hare at suse.de
SuSE Linux AG S390 & zSeries
Maxfeldstraße 5 +49 911 74053 688
90409 Nürnberg http://www.suse.de
More information about the klibc