RE: shell script problem so simple I'm embarassed to ask

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Ben Weatherall
Data:  
Dla: plug-discuss
Temat: RE: shell script problem so simple I'm embarassed to ask
And for the really anal amongst us...
   foreach my $elem (sort {$a cmp $b} keys %ENV) {
     print "$elem $ENV{$elem}\n";
   }


This just prints out the environment variables in sorted order ;-)
-Ben
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss