From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 18:45:11 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60840106566B for ; Mon, 5 Mar 2012 18:45:11 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 14E5D8FC18 for ; Mon, 5 Mar 2012 18:45:11 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mail.0x20.net (Postfix) with ESMTP id 68C656A61C0; Mon, 5 Mar 2012 19:45:09 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.0x20.net Received: from mail.0x20.net ([217.69.76.211]) by mail.0x20.net (mail.0x20.net [217.69.76.211]) (amavisd-new, port 10024) with ESMTP id ewV_gfxBunOk; Mon, 5 Mar 2012 19:45:09 +0100 (CET) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 26F436A6015; Mon, 5 Mar 2012 19:45:09 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id q25Ij8Rt071872; Mon, 5 Mar 2012 19:45:08 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.4/8.14.4/Submit) id q25Ij7jn067106; Mon, 5 Mar 2012 19:45:07 +0100 (CET) (envelope-from lars) Date: Mon, 5 Mar 2012 19:45:07 +0100 From: Lars Engels To: Nate Dobbs Message-ID: <20120305184507.GL23354@e-new.0x20.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bFUYW7mPOLJ+Jd2A" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.2-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 05 Mar 2012 20:12:12 +0000 Cc: 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 18:45:11 -0000 --bFUYW7mPOLJ+Jd2A Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > > > 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. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > > >=20 > I'm not entirely sure how to do this in any arbitrary shell - although you > could simply use the 'rev' command. >=20 > %echo HELLO! | rev > !OLLEH >=20 > Here is a link to the man page: >=20 > http://unixhelp.ed.ac.uk/CGI/man-cgi?rev http://man.freebsd.org/rev ;-) --bFUYW7mPOLJ+Jd2A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9VCbMACgkQKc512sD3afiUagCdEclxte4g7L6asb+LY64+lC+p ZbcAnRk7Qn1t3uy0S1D+7ctFZR7JodN5 =QAcf -----END PGP SIGNATURE----- --bFUYW7mPOLJ+Jd2A--