On Wed, Nov 27, 2002 at 12:46:20PM -0800, Vonsur Kcin wrote:
> cpuid=sed -ne 's/^model name.*: //p' < /proc/cpuinfo

just don't forget the backticks :)


> case "$cpuid" in
>     "AMD Athlon"*)
>       echo k7
>       ;;
<snip>

yeah, even simpler than i was thinking!


        sean

Attachment: pgpVsp5bfIinX.pgp
Description: PGP signature

Reply via email to