Oct 26, 2005 #1 ogniemi Technical User Nov 7, 2003 1,041 PL fo example: 1 6 3 d 5 5 d 3 6 1 thanks in advance, rm. Is the any command in AIX doing this? I've found 'rev' command in AIX but it doesn;t do need... ... it reverts: abcdefghi 123456789 to: ihgfedcba 987654321
fo example: 1 6 3 d 5 5 d 3 6 1 thanks in advance, rm. Is the any command in AIX doing this? I've found 'rev' command in AIX but it doesn;t do need... ... it reverts: abcdefghi 123456789 to: ihgfedcba 987654321
Oct 26, 2005 #2 vgersh99 Programmer Jul 27, 2000 2,146 US sed1liners Code: sed '1!G;h;$!d' file vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
sed1liners Code: sed '1!G;h;$!d' file vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Oct 26, 2005 3 #3 olded Programmer Oct 27, 1998 1,065 US Hi: This lists 8 ways to reverse a file: http://www.samag.com/documents/s=9766/sam0506g/0506g.htm Upvote 0 Downvote