hi,
can someone help please. i have a file in the following format -
serverName:username:uidgrp
e.g.
s1:bob:999:staff
s2:bob:888:staff
s3:bob:999:staff
s1:jon:777:staff
s2:jon:666:staff
s3:jon:666:staff
so i would like to read through this file and for the records that there is only 1 of i.e. jon:777 but there are other jon:xxx records in the file, write the jon:777 record to a file.
thanks
can someone help please. i have a file in the following format -
serverName:username:uidgrp
e.g.
s1:bob:999:staff
s2:bob:888:staff
s3:bob:999:staff
s1:jon:777:staff
s2:jon:666:staff
s3:jon:666:staff
so i would like to read through this file and for the records that there is only 1 of i.e. jon:777 but there are other jon:xxx records in the file, write the jon:777 record to a file.
thanks