program to reverse a file
Write a program in any language you choose, to reverse a file.
|
Smells like homework to me -- like the OP's other threads, 6 started in 30 minutes.
|
Hi,
If by reverse you mean last line first, first line last: Try tac (Yep, that is cat in reverse). Hope this helps. EDIT: Mmmmm..... catkin seems to have a good point...... /EDIT |
Quote:
|
Quote:
|
Hi,
Quote:
|
Quote:
|
Quote:
|
Hi,
I'm glad to be of help! :hattip: |
All times are GMT -5. The time now is 05:34 AM. |