On Wed, 4 Jan 2006 02:26 am, Johannes Zarl wrote:
In the end I used gawk with ":" as a field
separator to extract them:
networks=$(iwlist eth1 scan | grep ESSID | gawk -F: '{ print $2 }')
This can be optimised to -
networks=$(iwlist eth1 scan | gawk -F: '/ESSID/ { print $2 }')
signature.asc
Description: This is a digitally signed message part

