you are not using the "-c 0" flag i mentioned to remove the colour codes!
I find it does what you say if i do not omit the colours but it works if i do.
without using -c 0 my output running the exe is this...
"\x0312CPU: \x03\x0312Topology\x03 Quad Core \x0312model\x03 Intel Core i5-3470S \x0312bits\x03 64 \x0312type\x03 MCP \x0312L2 cache\x03 6144 KiB \x03\n \x0312Speed\x03 3350 MHz \x0312min/max\x03 1600/3600 MHz \x0312Core speeds (MHz)\x03 \x03121\x03 3353 \x03122\x03 3315 \x03123\x03 3557 \x03124\x03 3310 \x03\n"
So grep fails to find "model:"
for "inxi -C -c 0" output is this..
"CPU: Topology: Quad Core model: Intel Core i5-3470S bits: 64 type: MCP L2 cache: 6144 KiB \n Speed: 3429 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 3253 2: 3586 3: 3453 \n 4: 3335 \n"
Try this..
Shell "inxi -C -c 0| grep -o -P '(?<=model: ).*(?=bits)'" To Result2