From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 01:04:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B49C106567A for ; Sat, 31 Dec 2011 01:04:49 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E97668FC19 for ; Sat, 31 Dec 2011 01:04:48 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so16122759obb.13 for ; Fri, 30 Dec 2011 17:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EGosK7DrMxTP+X5GLEY7ha0qonkVYGthW9AbDGnY/NA=; b=O8hpDMsYfV+4fTPoS7CYy8nWt/VjCB7ej2nzzoFXjU7pCOPncma96yDdwdnP0tIy4Z s3YS0LNQndBYc8UkvgJekF5oix75Q23b+DbEuE4favL0O65wZLzKP18AkE6/ppbSd46G hohUH1+bS41UJKM0fJlAd6jFs6646qT7AVSEI= MIME-Version: 1.0 Received: by 10.182.46.68 with SMTP id t4mr19154339obm.41.1325293488435; Fri, 30 Dec 2011 17:04:48 -0800 (PST) Received: by 10.182.133.33 with HTTP; Fri, 30 Dec 2011 17:04:48 -0800 (PST) In-Reply-To: <4EFE645B.8010906@gmail.com> References: <4EFE645B.8010906@gmail.com> Date: Fri, 30 Dec 2011 17:04:48 -0800 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Edward Martinez , FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 01:04:49 -0000 try with the -e flag: $ FRUIT_BASKET="apples oranges pears" $ echo -e 'My fruit basket contains: \n $FRUIT_BASKET' My fruit basket contains: $FRUIT_BASKET >Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? -- Lyubomir Grigorov (bgalakazam)