From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 01:06:20 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 EDE9A1065670 for ; Sat, 31 Dec 2011 01:06:20 +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 B4E658FC13 for ; Sat, 31 Dec 2011 01:06:20 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so16123268obb.13 for ; Fri, 30 Dec 2011 17:06:20 -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=Dw7P7qrBYhrCK+UNAO5v8EDaiqzmEYDxXdzBujqsWbQ=; b=NOVKcl7dWb6sZt/1aj47XOs2wuFe5dvOBueW03A0xa2pf7ShaurwUW6QIXn2vfpkYl ZuTX6BL+qq9U9tn2mIJder6w/pJErg5g4KYD4EUZSRwd/9foB9W0QYtw/K7kjrlMT5Eo uui+VkMKzXQieAfwghNajtaw1WRSvrTeLiiKM= MIME-Version: 1.0 Received: by 10.182.46.68 with SMTP id t4mr19156424obm.41.1325293580213; Fri, 30 Dec 2011 17:06:20 -0800 (PST) Received: by 10.182.133.33 with HTTP; Fri, 30 Dec 2011 17:06:20 -0800 (PST) In-Reply-To: References: <4EFE645B.8010906@gmail.com> Date: Fri, 30 Dec 2011 17:06:20 -0800 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Edward Martinez , FreeBSD Questions Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable 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:06:21 -0000 I used ' singe quotes, so double quotes is: $ FRUIT_BASKET=3D"apples oranges pears" $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" My fruit basket contains: apples oranges pears =CD=E0 30 =E4=E5=EA=E5=EC=E2=F0=E8 2011, 17:04, =CB=FE=E1=EE=EC=E8=F0 =C3= =F0=E8=E3=EE=F0=EE=E2 =ED=E0=EF=E8=F1=E0: > try with the -e flag: > > $ FRUIT_BASKET=3D"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) > > --=20 Lyubomir Grigorov (bgalakazam)