Super quick and inelegant way, more to illustrate the concept that a working example!
#!/bin/bash
#set the next line to the name of your input file
inputFile="ABC.csv"
#create a history file to compare against next run
historyFile="history"
#compare the two files, and look for any lines which have changed. On first run, output everything
d=$(diff -N $inputFile $historyFile)
#copy the new file to the history file
cp $inputFile $historyFile
#write any changes to stdout so splunk can read them
echo $d
... View more