notes/Monitor for New Wireless Wifi Devices with Aircrackng-6TqjePm0.sh
#!/bin/sh

#for use with aircrack-ng logs


cat log-01.csv|grep ':'|cut -d\, -f1|sort -u >known

while [ 1 ];
do 
  cat log-01.csv |\
  grep ':'|\
  cut -d\, -f1|\
  while read mac;
  do 
    grep "$mac" known > /dev/null || (echo "New MAC $mac";echo "$mac" >> known )
  done
  sleep 1
done

syntax highlighted by Code2HTML, v. 0.9.1