From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 20:47:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7424B106566C for ; Sun, 4 Mar 2012 20:47:41 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 216928FC12 for ; Sun, 4 Mar 2012 20:47:40 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id q24KPiwN029653; Sun, 4 Mar 2012 14:47:34 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa01.fnfis.com with ESMTP id 13cbq1rgy7-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 04 Mar 2012 14:47:34 -0600 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Sun, 4 Mar 2012 14:47:33 -0600 MIME-Version: 1.0 (Apple Message framework v1257) From: Devin Teske In-Reply-To: Date: Sun, 4 Mar 2012 12:47:31 -0800 Message-ID: <0ED9AE29-CF83-43E3-A578-BC2BC91885ED@fisglobal.com> References: To: Phillip Spring X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-04_07:2012-03-02, 2012-03-04, 1970-01-01 signatures=0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 20:47:41 -0000 On Mar 4, 2012, at 12:29 PM, Phillip Spring wrote: > > Dear anonymous open-source enthusiasts friends, > > How to echo a string backwards into a terminal? > For example (or something like this): > > # echo @_foo_$ > oof > > Or it could be something else (that's because I forgot it): > > # echo $_bar_@ > rab > > Someone told me how to do it but I can't remember this trick. > I just remember the date it happened: Oct-13-2011 > You're looking for rev(1) Example: # echo foo | rev oof -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.