From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <406BAF6B.7030801@rmts.donpac.ru> Date: Thu, 01 Apr 2004 09:58:03 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.5b) Gecko/20031007 Thunderbird/0.3a X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: Community@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: [Comm] bash, date, mail X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 05:56:38 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Почему я не могу отправить письмо так: $ export d=`date +'"date %x"'` $ echo $d "date 04/01/04" $ echo hello | mail -s $d john /bin/bash: -c: line 1: unexpected EOF while looking for matching `"' /bin/bash: -c: line 2: syntax error: unexpected end of file "04/01/04"": No match. mail: (null): Bad address но могу так: $ echo hello | mail -s "date 04/01/04" john ? -- С уважением, Прокопьев Евгений