Date: Mon, 5 Mar 2012 19:45:07 +0100 From: Lars Engels <lars.engels@0x20.net> To: Nate Dobbs <misconfiguration@gmail.com> Cc: freebsd-hackers@freebsd.org, Phillip Spring <gatinhodosseussonhos@hotmail.com> Subject: Re: Never forget a special trick... Message-ID: <20120305184507.GL23354@e-new.0x20.net> In-Reply-To: <CAGjvUo6P%2BZGO1XniNPxehhmU==YoZcPKq4Kj3Fxr%2BUQ7m7vYkw@mail.gmail.com> References: <SNT140-W376A917B480317048936FAD3530@phx.gbl> <CAGjvUo6P%2BZGO1XniNPxehhmU==YoZcPKq4Kj3Fxr%2BUQ7m7vYkw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120305184507.GL23354>