Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > ea0f41a23dac82cdc55f8e46da014a55 > files > 289

howto-html-ko-9.1-0.5mdk.noarch.rpm

#!/bin/bash

echo
echo -n "Á¦ÀÏ ÁÁ¾ÆÇÏ´Â ¾ßä°¡ ¹¹¿¡¿ä? "
read

echo "Á¦ÀÏ ÁÁ¾ÆÇÏ´Â ¾ßä°¡ $REPLY ±º¿ä."
# REPLY ´Â °¡Àå ÃÖ±ÙÀÇ "read"°¡ º¯¼ö ¾øÀÌ ÁÖ¾îÁ³À» ¶§ ±× °ªÀ» ´ã°í ÀÖ½À´Ï´Ù.

echo
echo -n "Á¦ÀÏ ÁÁ¾ÆÇÏ´Â °úÀÏÀº¿ä? "
read fruit
echo "´ç½ÅÀÌ Á¦ÀÏ ÁÁ¾ÆÇÏ´Â °úÀÏÀº $fruit Áö¸¸,"
echo "\$REPLY ÀÇ °ªÀº ¿©ÀüÈ÷ $REPLY ³×¿ä."
# $fruit º¯¼ö°¡ "read"ÀÇ °ªÀ» °¡Á®°¡ ¹ö·È±â ¶§¹®¿¡ $REPLY ´Â ¿©ÀüÈ÷
# ¾Õ¿¡¼­ ¼³Á¤µÈ °ªÀ» °®°í ÀÖ½À´Ï´Ù.

echo

exit 0