Hello,
I´m new developer in awk and i need help in a program. I have a file with this estructure:
name: john@ais.net,class=Native
changetype: modify
replace: name
name: john2@ais.net
-
name elen@fly.com,class=Unix
changetype: modify
replace: password
password: 12345
-
I need find all users with a type of attribute, for example "class=Native" and get all lines until the simbol -
In the previous example the script return:
name: john@ais.net,class=Native
changetype: modify
replace: name
name: john2@ais.net
-
In a different file. Can anybody help me!!!!!
Sorry for my English
I´m new developer in awk and i need help in a program. I have a file with this estructure:
name: john@ais.net,class=Native
changetype: modify
replace: name
name: john2@ais.net
-
name elen@fly.com,class=Unix
changetype: modify
replace: password
password: 12345
-
I need find all users with a type of attribute, for example "class=Native" and get all lines until the simbol -
In the previous example the script return:
name: john@ais.net,class=Native
changetype: modify
replace: name
name: john2@ais.net
-
In a different file. Can anybody help me!!!!!
Sorry for my English