I have a file f1 containing following data:
---
sc_swVersion_t isaPDAVersion = {0,4,0,0,0,34};
---
from this I want to extract the first 4 characters after the opening brace. Can some one please advise what unix utility/shell command can do that. Say:
cat f1 | grep isaPDAVersion | < Some utility> gives me 0400
or more simply in gawk