I managed to execute terminal command from OSX app but the problem is that the data is tabulated. So I'm kindly asking if someone knows how to parse this to some data structure from where I can get single value in specific row and column. The other problem I'm facing is that there is text before the tabulated data, which I think I need to skip so I can grab the value (I don't know).
Here is example of the data.
this is very special output and we are proud of it.
0x0032 099 099 000
0x0032 099 099 000
0x0013 099 099 000
0x0013 122 100 010
0x0032 100 100 010
0x0032 100 100 010
0x0013 100 100 010
0x0032 100 100 000
So for example I need to get the value: 122 which is in 4th row 2nd column from left to right. How I can do this with Swift code.
Please help.