LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Maybe someone can explain this line? (https://www.linuxquestions.org/questions/programming-9/maybe-someone-can-explain-this-line-100126/)

G-Fox 10-04-2003 09:37 AM

Maybe someone can explain this line?
 
I need to get info from file, from it special place and this line do something like this...

Please explain me this line:

`perl -e '@a=split(/[:\s]+/,qx(grep eth0 /proc/net/dev));$f="%.0f";$fmt="$f\n$f\n1\neth0 traffic\n";$s=sprintf $fmt,$a[2],$a[10];print $s; print STDERR $s;'`;


Thank you for your time.

G-Fox 10-04-2003 02:20 PM

Thank you, but I find out my self.
If someone have same problem what I had visit this page:

http://www.geekcomix.com/cgi-bin/cla...erl_Commands_I


All times are GMT -5. The time now is 04:44 PM.