druid has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w while (($name,$passwd,$gid,$members)=getgrent){ if ($name eq "steel"){ s/\w/\n/g; print "$members\n"; } }
Edit kudra, 2002-06-06 Added closing code tag, removed BR tags within code tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: white space substitution
by Zaxo (Archbishop) on Jun 06, 2002 at 11:15 UTC | |
(MeowChow) Re: white space substitution
by MeowChow (Vicar) on Jun 06, 2002 at 11:16 UTC | |
Re: white space substitution
by demerphq (Chancellor) on Jun 06, 2002 at 12:03 UTC |