Using cat output in osascript in terminal I want to display a notification using osascript in terminal, but the text I want to display is stored in a text file. How can I display that text in the notification?
Basically you need to read the file content into a variable first. There are several ways to do this, one is

text=$(&lt; TEXTFILE)
osascript ... "$text"