The first temp1: is my north bridge temp
The second temp:1 is my GPU
The 2 temp:1s are seperated by a few other lines.
I need to capture the first and ignore the second and vise versa to display these 2 temps in conky.
Thought there might be a simple way to grep a 1st, 2nd, 3rd etc instance of a word or phrase?
This is a test:
Code: Select all
[code select all: blah blah blah]