Search Results

Search: Posts Made By: g_string
2,868
Posted By balajesuri
Please post a sample of your desired output....
Please post a sample of your desired output. Something like.. this is how my output should look!
2,868
Posted By rangarasan
perl
Hi,

Try this one,


#!/usr/bin/perl
use strict;
use Cwd;
my $cwd = cwd;
my $file = $cwd . '/usrgrps.txt';
my $gid;
my $grp;
my $host;
my $group;
my $userid;
my %table = ();...
2,868
Posted By balajesuri
#!/usr/bin/perl use strict; use warnings; ...
#!/usr/bin/perl
use strict;
use warnings;

my ($gid, $grp, $host, $group, $userid);
my %table;

open FILE, "< /path/to/usrgrps.txt";
foreach (<FILE>) {
chomp;
($host, $grp, $gid,...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy