onegative has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w #pass a directory to script use strict; my $ownergroup=`ls -ld $ARGV[0]\| awk '{print \$3":"\$4}'`; print $ownergroup;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File/Dir Attributes
by gellyfish (Monsignor) on Jun 21, 2005 at 18:53 UTC | |
by onegative (Scribe) on Jun 21, 2005 at 19:01 UTC | |
by gellyfish (Monsignor) on Jun 21, 2005 at 19:09 UTC | |
by shekarkcb (Beadle) on Aug 03, 2009 at 15:18 UTC | |
by toolic (Bishop) on Aug 03, 2009 at 15:27 UTC | |
|
Re: File/Dir Attributes
by Xaositect (Friar) on Jun 21, 2005 at 18:56 UTC |