i am using AIX -ksh
how can i reverse any file ,i have already try tac cmd it is not in AIX:
please help me out.
This will slurp the whole file into memory, but for modest-size files, it should work fine.
perl -e 'print reverse <>' file
Thnks Era .. Its working fine for me
thanks era its working.