Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



Hubert Feyrer wrote:

> 
> Module Name:  basesrc
> Committed By: hubertf
> Date:         Fri Jul 30 02:07:17 UTC 1999
> 
> Modified Files:
> 
>       basesrc/usr.bin/machine: Makefile
> Added Files:
> 
>       basesrc/usr.bin/machine: machine.sh
> Removed Files:
> 
>       basesrc/usr.bin/machine: machine.c
> 
> Log Message:
> 
> Shell script implementation of "machine" by me.
> 
> I hereby place this into the public domain, the script contains
> no copyright header to make it small. Replacing the binary
> implementation saves 8k on /usr.
> 
> See also PRs 6614 and 361.

Umm, this breaks on a pmax:

        mona:src/usr.bin/machine 10> /usr/bin/machine
        pmax
        mona:src/usr.bin/machine 11> sh ./machine.sh
        mipsel
        mona:src/usr.bin/machine 12> grep uname ./machine.sh 
        /usr/bin/uname -p
        mona:src/usr.bin/machine 13> uname -p
        mipsel
        mona:src/usr.bin/machine 14> uname -m
        pmax

It looks like machine.sh should be using "uname -m"...

Simon.



Home | Main Index | Thread Index | Old Index