#!/bin/bash
HOST_ARCH=$(uname -m)
case "$HOST_ARCH" in
x86) HOST_ARCH="x86" ;;
ia64) HOST_ARCH="ia64" ;;
i?86) HOST_ARCH="x86" ;;
amd64) HOST_ARCH="amd64" ;;
x86_64) HOST_ARCH="x86_64" ;;
sparc64) HOST_ARCH="sparc64" ;;
* ) HOST_ARCH="desconhecido" ;;
esac
echo
echo "A arquitetura do seu sistema é: $HOST_ARCH"
echo
IyEvYmluL2Jhc2gKCkhPU1RfQVJDSD0kKHVuYW1lIC1tKQoKY2FzZSAiJEhPU1RfQVJDSCIgaW4KICAgIHg4NikgICAgIEhPU1RfQVJDSD0ieDg2IiAgICAgICAgICA7OwogICAgaWE2NCkgICAgSE9TVF9BUkNIPSJpYTY0IiAgICAgICAgIDs7CiAgICBpPzg2KSAgICBIT1NUX0FSQ0g9Ing4NiIgICAgICAgICAgOzsKICAgIGFtZDY0KSAgIEhPU1RfQVJDSD0iYW1kNjQiICAgICAgICA7OwogICAgeDg2XzY0KSAgSE9TVF9BUkNIPSJ4ODZfNjQiICAgICAgIDs7CiAgICBzcGFyYzY0KSBIT1NUX0FSQ0g9InNwYXJjNjQiICAgICAgOzsKICAgICogKSAgICAgIEhPU1RfQVJDSD0iZGVzY29uaGVjaWRvIiA7Owplc2FjCgplY2hvCmVjaG8gIkEgYXJxdWl0ZXR1cmEgZG8gc2V1IHNpc3RlbWEgw6k6ICRIT1NUX0FSQ0giCmVjaG8K