bertderidder has asked for the wisdom of the Perl Monks concerning the following question:
i'd would like to create a target file with the syntax that's below.source file: users.txt dn: uid=donald,nameSpace=mydomain.com,ou=users,o=sp radiusFramedAddress: 192.168.0.2 dn: uid=mario,nameSpace=mydomain.com,ou=users,o=sp radiusFramedAddress: 192.168.0.7 dn: uid=thijs,nameSpace=mydomain.com,ou=users,o=sp radiusFramedAddress: 192.168.11.15
Thankstarget file: addme.txt dn: uid=donald,nameSpace=mydomain.com,ou=users,o=sp changeType: modify replace: radiusFramedAddress radiusFramedAddress: 192.168.0.2/32 dn: uid=mario,nameSpace=mydomain.com,ou=users,o=sp changeType: modify replace: radiusFramedAddress radiusFramedAddress: 192.168.0.7/32 dn: uid=thijs,nameSpace=mydomain.com,ou=users,o=sp changeType: modify replace: radiusFramedAddress radiusFramedAddress: 192.168.11.15/32
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help asked for creating a file with usernames
by jethro (Monsignor) on Feb 09, 2013 at 14:19 UTC | |
|
Re: Help asked for creating a file with usernames
by johngg (Canon) on Feb 09, 2013 at 14:49 UTC | |
|
Re: Help asked for creating a file with usernames
by flexvault (Monsignor) on Feb 09, 2013 at 14:40 UTC |