Taking out the lines you need.

From: Alistair McKeown (Alistair.Mckeown@jacobsrimell.com)
Date: Fri Apr 29 2005 - 06:32:13 EDT


Hi,
    I have a file where all I want to do is to take out certain lines which
begin UscoLink5= and also the line above.

E.g from the middle of the file

cn=200194800,ou=users,ou=amsterdam,ou=domains,ou=nl,ou=domains,o=chello
cn=200194800

cn=200243120,ou=users,ou=amsterdam,ou=domains,ou=nl,ou=domains,o=chello
cn=200243120

cn=201633080,ou=users,ou=amsterdam,ou=domains,ou=nl,ou=domains,o=chello
cn=201633080
uscoLink5=00:00:ca:e9:db:bf

Would take out :

cn=201633080
uscoLink5=00:00:ca:e9:db:bf

Is this possible somehow?

Regards,

Alistair.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:37 EDT