Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > b611ea73723a8287cce23d3124a6eeea > files > 234

howto-sgml-ko-2006-5mdv2010.0.noarch.rpm

#!/bin/bash
#  ¸Å°³º¯¼ö ġȯÀ» ²ö 'cat' here document.

NAME="John Doe"
RESPONDENT="ÀÌ ¸ÚÁø ½ºÅ©¸³Æ®ÀÇ ÀúÀÚ"  

cat <<'Endofmessage'

¾È³çÇϼ¼¿ä, $NAME ¾¾.
Àü $RESPONDENT Àä, ¸¸³ª¼­ ¹Ý°©½À´Ï´Ù. $NAME ¾¾.

Endofmessage

# "Á¦ÇÑ ¹®ÀÚ¿­"(limit string)À» Äõ¿ìÆ® ÇØ Áְųª À̽ºÄÉÀÌÇÁ ½ÃÅ°¸é
# ¸Å°³º¯¼ö ġȯÀÌ ÀϾÁö ¾Ê½À´Ï´Ù.
# here document ½ÃÀۺκп¡¼­ 
#  cat <<"Endofmessage"
#  cat <<\Endofmessage
# À̶ó°í Çصµ ¶È°°Àº °á°ú°¡ ³ª¿É´Ï´Ù.