#!/bin/sh print_head() { cat << EOF ${1} Suleyman Farajli
EOF } print_menu() { cat << EOF EOF } print_copyleft() { cat << EOF


copyleft (c) 2024 Suleyman Farajli

EOF } filename="${1}" title=$(cat "${filename}" | head -n1 | sed 's///') print_head "${title}" print_menu # Remove the title on the first line, if exists sed '1 s///' ${filename} | smu print_copyleft