18 Feb
2002
18 Feb
'02
11:15
hi, On Mon, Feb 18, 2002 at 12:07:53PM +0100, Sascha Andres wrote:
--- SKRIPT ANFANG #! /bin/sh i=`w | awk '{print $2 $8}' | grep w | sed -e 's/w//'` echo $i --- SKRIPT ENDE inzwischen hab ich geblickt warum. weil da ja eine sub shell geoeffnet wird, und diese beim w angezeigt wird ...
gibt's nocht ne elegantere loesung das aktuelle terminal herauszufinden ? ciao sascha -- Sascha Andres linux@programmers-world.com http://www.programmers-world.com