You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
302 B

#!/bin/sh
# uname(1) simulator, inspired by Pavel Roskin.
[ $# -ne 1 ] && exec sh $0 -s
[ $1 = -m ] && echo "@MACHINE@" && exit 0
[ $1 = -r ] && echo "@RELEASE@" && exit 0
[ $1 = -s ] && echo "@SYSTEM@" && exit 0
[ $1 = -v ] && echo "@VERSION@" && exit 0
[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI"