I'm not sure this in the right place, but I didn't see a shell scripting specific forum.
I'm writing a system info script, and I'm having a problem with one particular part.
I'm trying to get the systems processor using:
Which returns:Code:cat /proc/cpuinfo | awk '/model name/ {print $4, $5, $6, $7, $8}'
It's not absolutely necessary, but I'd like to remove the (R)'s if possible - I'm picky.Code:Intel(R) Celeron(R) D CPU 3.33GHz
I've done some experimenting with cut and grep, but I couldn't find anything that worked.
Does anyone have a suggestion?
Thx
Bookmarks