Friday, February 27, 2009

The rev command

rev command is used to print the lines of a file in reverse order.
i used it with cut to cut the last column of a file . I used it
because a column in the begining used special character in it

for eg:
Irregular line
"Buongiorno","BUSA, Inc",11222,"ALT",2325,22318.75
regular line
the comma after BUSA gives wrong column

No comments:

Setting the limits in Linux permanently app soft nofile   16384 * hard...