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