Re: parse x.500 DN and change order displayed
- From: Peter@xxxxxxxx (Peter Scott)
- Date: Mon, 31 Mar 2008 05:07:39 -0700
On Sun, 30 Mar 2008 20:36:58 -0700, SecureIT wrote:
I am trying to change this
"cn=Bob Smith+serialNumber=CR013120080827,o=ICM,c=US"
to this:
"serialNumber=CR013120080827+cn=Bob Smith,o=ICM,c=US"
There are about 2000 entries like this and I need to have them all
displayed with serialNumber first, and cn last then the rest of the
DN, the names and serialNumbers are all unique to each entry.
s/^(cn=.*?)+(.*?),/$2+$1,/;
--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
.
- References:
- parse x.500 DN and change order displayed
- From: SecureIT
- parse x.500 DN and change order displayed
- Prev by Date: Re: perl byte code generation
- Next by Date: RE: parse x.500 DN and change order displayed
- Previous by thread: parse x.500 DN and change order displayed
- Next by thread: RE: parse x.500 DN and change order displayed
- Index(es):
Relevant Pages
|
|