Hello,
Thanks you for this useful script.
But it's impossible to open the resulting wireless-info.txt with any text editor as pluma or geany.
file -bi wireless-info.txt
application/octet-stream; charset=binary
Only way to see the contents is using cat inside terminal which is not the simpler way to read it.
Edit:
Found a workaround:
cat wireless-info.txt | tr -d '\000' > wireless-info-new.txt
Kind Regards