Andrew Gaffney wrote: > > I am writing a Perl script to automatically generate a netlogon.bat file for Samba > whenever a user logs onto a domain. The only parameter that is passes to it is the > username. My problem is that different groups get some of the same mappings. What I > really > need to do is filter out duplicate lines in the finished output. I tried piping the > output > through 'uniq' but it only filters successive duplicate lines. Anyone have any > suggestions?
[snip code] Hi Andrew. The quick answer is: perldoc -q dupl If you need any more then ask again :) Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>