Reversing a file?

Seth Robertson seth at ctr.columbia.edu
Tue Oct 3 14:11:22 AEST 1989


In article <MONTNARO.89Oct2224215 at sprite.crd.ge.com> <montanaro at crdgw1.ge.com> (Skip Montanaro) writes:
>Does somebody have an elegant shell script for reversing the lines of a
>file? I've come up with the following short one:

<Recursive code deleted>

Ready?
			   ***************
			   ***************
		           **           **
			   **  tail -r  **
		           **           **
			   ***************
			   ***************

Anything else you want?

-- 
                                        -Seth Robertson
                                         seth at ctr.columbia.edu



More information about the Comp.unix.questions mailing list