EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Shell Scripting ]

"VI Reversal" - Ülkü SAYILAN - (2004-06-19 17:07:22)   [4647]

VI Reversal

In vi editor you can reverse the order of lines by just executing the following ed command at the : prompt.

g/^/m0

Mail to My Friend , Home Page