johny has asked for the wisdom of the Perl Monks concerning the following question:
Regards Johnywhat i need is to get is accessed page and max of date ie jxbx__XYZ01 2007/10/10 as per below example. Do I need to store this o/p in afile and extract from it or can i mani +pulate the data and get the desired o/p output of the command executed using system jxbx__XYZ0099 2007/02/01 jxbx_XYZ098 2007/08/20 jxbx__XYZ01 2007/10/10 jxbx_XYZ0011 2007/08/05 jxbx_XYZ 2007/09/11 my $file = "pp.txt" ; open (FH ,$file) || die ("could not openfile"); while <FH>) { $usr = system ("listusr | grep $_ | cut -d ' ' -f1,3");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: o/p of system
by Corion (Patriarch) on Oct 15, 2007 at 13:58 UTC | |
by johngg (Canon) on Oct 15, 2007 at 15:18 UTC | |
by Corion (Patriarch) on Oct 15, 2007 at 19:48 UTC | |
by johny (Novice) on Oct 15, 2007 at 14:11 UTC | |
|
Re: o/p of system
by moritz (Cardinal) on Oct 15, 2007 at 13:55 UTC | |
|
Re: o/p of system
by blue_cowdawg (Monsignor) on Oct 15, 2007 at 14:37 UTC |