#!/bin/bash # ¸Å°³º¯¼ö ġȯÀ» ²ö 'cat' here document. NAME="John Doe" RESPONDENT="ÀÌ ¸ÚÁø ½ºÅ©¸³Æ®ÀÇ ÀúÀÚ" cat <<'Endofmessage' ¾È³çÇϼ¼¿ä, $NAME ¾¾. Àü $RESPONDENT Àä, ¸¸³ª¼ ¹Ý°©½À´Ï´Ù. $NAME ¾¾. Endofmessage # "Á¦ÇÑ ¹®ÀÚ¿"(limit string)À» Äõ¿ìÆ® ÇØ Áְųª À̽ºÄÉÀÌÇÁ ½ÃÅ°¸é # ¸Å°³º¯¼ö ġȯÀÌ ÀϾÁö ¾Ê½À´Ï´Ù. # here document ½ÃÀۺκп¡¼ # cat <<"Endofmessage" # cat <<\Endofmessage # À̶ó°í Çصµ ¶È°°Àº °á°ú°¡ ³ª¿É´Ï´Ù.