This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
rev
- From: Barry Buchbinder <bbuchbinder at yahoo dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Wed, 10 Jul 2002 15:10:06 -0700 (PDT)
- Subject: rev
How about a script:
==============
#!/bin/sh
/bin/gawk '{
OUT = ""
for (INDX = length; INDX > 0; INDX-- ) {
OUT = OUT substr($0,INDX,1) }
print OUT
}' "$@"
==============
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/