From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 21:09:57 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 D3D07106564A for ; Mon, 5 Mar 2012 21:09:57 +0000 (UTC) (envelope-from yanegomi@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 8DD3E8FC12 for ; Mon, 5 Mar 2012 21:09:57 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so6857013obb.13 for ; Mon, 05 Mar 2012 13:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) client-ip=10.60.26.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.60.26.8]) by 10.60.26.8 with SMTP id h8mr8716397oeg.15.1330981797252 (num_hops = 1); Mon, 05 Mar 2012 13:09:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4tcBJTYanpuIOKulMg+IQY6cL0//twQiFt2QJYJt8Bs=; b=TLwXxufwHXOetq199PlaNyjYDSk4DCk7sR5z/gzSkP6Y07/Vc0ESD3UJ8Vkm5KFJ39 xaGAihruZtKFwEInGQwWZpUydgfW+vLfk6ZNfO8dBtnYWCXfQtPhvTkXOzfEAHkgJH9x ba55xjV6kzY5XLLqgdIWobFu2NWQJPoXh2FIE1wvf+hu9XhRU2glkywI5UczgH0dMBiJ MHFX+wJqlf6sJNr4wUOMNzydlnkzMVR8GGxiHjdyob4P5OJodpULU8oWM+zmouNnVpox P9T32Oa8YbR+PHHu5OHnaOPztkxYke0dT7qdLtkEhpsSd/c43y3S2ddB8NMnxjzmLQNE TGLg== MIME-Version: 1.0 Received: by 10.60.26.8 with SMTP id h8mr7560046oeg.15.1330981797164; Mon, 05 Mar 2012 13:09:57 -0800 (PST) Received: by 10.182.61.195 with HTTP; Mon, 5 Mar 2012 13:09:57 -0800 (PST) In-Reply-To: <20120305184507.GL23354@e-new.0x20.net> References: <20120305184507.GL23354@e-new.0x20.net> Date: Mon, 5 Mar 2012 13:09:57 -0800 Message-ID: From: Garrett Cooper To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Nate Dobbs , freebsd-hackers@freebsd.org, Phillip Spring 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: Mon, 05 Mar 2012 21:09:57 -0000 On Mon, Mar 5, 2012 at 10:45 AM, Lars Engels wrote: > On Sun, Mar 04, 2012 at 03:49:35PM -0500, Nate Dobbs wrote: >> On Sun, Mar 4, 2012 at 3:29 PM, Phillip Spring < >> gatinhodosseussonhos@hotmail.com> 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 >> > >> > []'s >> > Phillip. >> > =A0_______________________________________________ >> > freebsd-hackers@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.= org" >> > >> >> I'm not entirely sure how to do this in any arbitrary shell - although y= ou >> could simply use the 'rev' command. >> >> %echo HELLO! | rev >> !OLLEH >> >> Here is a link to the man page: >> >> http://unixhelp.ed.ac.uk/CGI/man-cgi?rev > > http://man.freebsd.org/rev =A0;-) Now that (the fact that I can get to the manpages by using the man subdomain) is a trick I can use :D... Thanks! -Garrett