Matthew Dawson wrote:

> Prehaps would should use a:
> INTERFACE=eth1
> 
> networks=$(iwlist $INTERFACE scan  | gawk -F: '/ESSID/ { print $2 }')
> So people can easily change the interface.

Agreed. When I posted the example, I replaced $INTERFACE for an
example-value, so the whole line is better to read.

Look at http://alioth.debian.org/snippet/detail.php?type=snippet&id=14 for
proof ;-)

   Johannes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to