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.

target-triplet-to-arch.sh 118B

123456
  1. #!/bin/sh
  2. if echo "$1" | grep -Eq 'i[[:digit:]]86-'; then
  3. echo i386
  4. else
  5. echo "$1" | grep -Eo '^[[:alnum:]_]*'
  6. fi