Hi all, I am trying to modify a korn shell script to Perl to get rid of sed, awk, etc... For most part I am done but I cant seem to be able to find an included or CPAN module to lookup NIS maps, such as password, group.. and also "ypwhich -m" I will need to get the name of the maps and dump each map one by one. This is the Korn shell equivalent of what I need in Perl: automaster=`ypcat auto.master | grep auto | awk '{print $1}'` maps=`ypwhich -m awk '{print $1}'`
for map in $maps do ypcat $map > $tmp/nis.$map done Thanks you all very much. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/