here is a simple Markov chain chat bot in bash
bashgpt makes a weighted graph of pairs of words and punctuation and stores it in shell environment variables. it can read in text files to build a graph or build a graph from text entered in the console.
there is nothing remotely useful about this program.
bashgpt.sh usage:
-h : print this help and exit
-v : verbose output
-d <filename> : restore and save graph from given filename
-r <filename> : read text from filename