_PROX=$(cat /proc/cpuinfo | grep "processor" | tail -n 1 | awk '{ print $3}')
let "_PROX+=1"
echo "\${_PROX}: "${_PROX}
~
Also, once I saw a site similar to the
w3.org ones (in which you could check
if your [h|x]tml and schemas are kosher), but for bash scripts POSIX
compliance.
~
I did search for a while, but couldn't find it. What was that site?
~
thanks
lbrtchx
~
unix.shell: is this a reliable way to get the number of executing
procesors (Intel, AMD, ARM, ... which ever flavor of Unix would run on)
from /proc/cpuinfo?