Still trying to figure this awk stuff out! I'm confused about if the field you want to replace is on another line. For example I have a file named MMVer.r and in it is:
resource 'tver' (1000) {
"3.0a6"
};
How would I change the "3.0a6" to "3.0a7" then the next time I run the awk command, to 3.0a8 and so forth. Since the field is on the second line I'm not sure how??
resource 'tver' (1000) {
"3.0a6"
};
How would I change the "3.0a6" to "3.0a7" then the next time I run the awk command, to 3.0a8 and so forth. Since the field is on the second line I'm not sure how??