Änderungen

Zur Navigation springen Zur Suche springen
25 Bytes hinzugefügt ,  20:54, 29. Sep. 2006
Zeile 99: Zeile 99:  
wget -O - http://127.0.0.1:2006|awk '{if($2=="HNA")exit;if($5<10)print $1,$2,$5}'
 
wget -O - http://127.0.0.1:2006|awk '{if($2=="HNA")exit;if($5<10)print $1,$2,$5}'
   −
awk '{if($2=="localhost")s=1;z++;if(z>5){if($0=="")exit;print substr($2,1,length($2)-5)}}' /etc/hosts >/tmp/dat
+
awk '{if($2=="localhost")s=1;z++;if(z>5){if($0=="")exit;print substr($2,1,length($2)-5)}}END{print ---}' /etc/hosts >/tmp/dat
wget -O - http://127.0.0.1:2006|awk '{if($2=="Topology")s=1;if(s==1){if($0=="")exit;if($5<10)print $1,$2,$5}}'
+
wget -O - http://127.0.0.1:2006|awk '{if($2=="Topology")s=1;if(s==1){if($0=="")exit;if($5<10)print $1,$2,$5}}' >>/tmp/dat
 
</pre>
 
</pre>
  

Navigationsmenü