Reversing the contents of a file in Unix

Thank you for reading my question:
I am to read a text file and write the contents of this file to a second file in reverse order. Note:I am not supposed to place a pointer at EOF. How do I do it then? Thank you for repplying.

Comments

  • : Thank you for reading my question:
    : I am to read a text file and write the contents of this file to a second file in reverse order. Note:I am not supposed to place a pointer at EOF. How do I do it then? Thank you for repplying.
    :

    If you want to use C programming to do this, then u can use recuresive method to do this. It will be easy to do the same.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion