There appears to be a misunderstanding:
I'm looking to reconcile the list of PTR's and the number of each PTR's
occurrences (PTRList.txt)
and
the (severely truncated) output of the nmap scan(s) of the randomly filled
out 3rd & 4th octets of
a set of CIDR/16 prefixes (IPv4.May2020.37.nMapoG.txt).
On the other hand, Magic Banana's script is looking at only one of the two
files; which one ?
I've tried to save the scripts as MB.suggestion02.txt & MB.suggestion03.txt,
cp them to *.bin
and *.sh, respectively, before chmod +x MB.suggestion02.bin and chmod +x
Mb.suggestioin03.sh
before lastly executing them with
./mb.suggestion02.bin filename01 - or ./MB.suggestion03.sh filename02 -
The error messages repeatedly say for either combination of filenames:
bash: ./MBsuggestion03.sh: No such file or directory or ./MBsuggestion02.bin:
No such file or directory
No new directories appear. In my alternative scripting, I created the two
necessary directories beforehand.
George Langford