Eli Fulkerson .com HomeProjectsTextselect



"textselect" is a command line program that allows you to combine text files containing columns of data with a sql like syntax.

The specific use case this was written for was in order to combine various outputs from network equipment - for instance, pulling the MAC address and switchport from a Cisco switch's "show mac address-table" command, pulling the the ip address and mac address from a Cisco firewall's "show arp" command, pasting these outputs into separate text files, then using textselect to coorelate ip addresses and switchports based on the shared mac address.

Sample syntax:

./textselect a.txt.1, a.txt.3, m.txt.4, c.txt.5 from a.txt m.txt c.txt where a.txt.3 == m.txt.2 and a.txt.2 in c.txt.5 options inner




Listing directory https://download.elifulkerson.com/files/textselect/0.1: textselect June 21 2019 16:20:26 10293 Python script, ASCII text executable textselect.asc July 03 2019 15:32:26 801 GnuPG signature textselect.md5 July 03 2019 15:32:26 45 MD5 checksum textselect.sha1 July 03 2019 15:32:26 53 SHA1 checksum textselect.sha256 July 03 2019 15:32:26 77 SHA256 checksum textselect.sha512 July 03 2019 15:32:26 141 SHA512 checksumBrowse the download server