cat begin.txt - << EOF Type the text you want here, terminated by a line with only EOF
Подробнее о том, как это работает, см. в https://stackoverflow.com/q/2500436.
Все, что вы наберете, будет сохранено в истории bash, так что вы сможете отредактировать ее по своему вкусу.
Если вам нужно что-то более гибкое, почему бы просто не создать временный файл и не отредактировать его?
cat begin.txt > /tmp/myprograminput editor /tmp/myprograminput cat /tmp/myprograminput | myprogram
Согласно Часто задаваемым вопросам по GNOME -Как произносится GNOME?:
GNOME stands for "GNU Network Object Model Environment". GNU stands for "GNU's Not Unix", and has always been officially pronounced "guh-NEW" to minimize confusion. Since GNU is GNOME's first name, GNOME is officially pronounced "guh-NOME".
However, many people pronounce GNOME as just "NOME" (like those short people from legend), nobody will hurt you if you find this pronunciation easier.