Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020710221006.7582.qmail@web13105.mail.yahoo.com> Date: Wed, 10 Jul 2002 15:10:06 -0700 (PDT) From: Barry Buchbinder Subject: rev To: Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/