| View previous topic :: View next topic |
| Author |
Message |
bastibasti Guru

Joined: 27 Nov 2006 Posts: 463
|
Posted: Wed Jan 16, 2013 7:25 am Post subject: Reverse a file, really |
|
|
Hi,
Iam trying to reverse a file.... "tac" only does this line by line.
with tac I get
But I need to get
Any Ideas? (I could make a loop and use dd but maybe theres a tool already existing) |
|
| Back to top |
|
 |
dmitchell Veteran


Joined: 17 May 2003 Posts: 1154 Location: Austin, Texas
|
Posted: Wed Jan 16, 2013 7:27 am Post subject: |
|
|
_________________ Your argument is invalid. |
|
| Back to top |
|
 |
bastibasti Guru

Joined: 27 Nov 2006 Posts: 463
|
Posted: Wed Jan 16, 2013 7:43 am Post subject: |
|
|
Hi thanks for the answer
rev: stdin: Invalid or incomplete multibyte or wide character
I guess I forgot to mention. Iam trying to reverse a bitmap file ) |
|
| Back to top |
|
 |
dmitchell Veteran


Joined: 17 May 2003 Posts: 1154 Location: Austin, Texas
|
Posted: Wed Jan 16, 2013 7:59 am Post subject: |
|
|
Yeah, you forgot to mention that. Say what you're actually doing. _________________ Your argument is invalid. |
|
| Back to top |
|
 |
sikpuppy n00b


Joined: 12 Jun 2012 Posts: 23 Location: Central Coast, NSW
|
|
| Back to top |
|
 |
dmitchell Veteran


Joined: 17 May 2003 Posts: 1154 Location: Austin, Texas
|
Posted: Wed Jan 16, 2013 3:30 pm Post subject: |
|
|
I thought of imagemagick too but I'll be surprised if that's what he needs. I think he wrote bitmap but meant binary. _________________ Your argument is invalid. |
|
| Back to top |
|
 |
sikpuppy n00b


Joined: 12 Jun 2012 Posts: 23 Location: Central Coast, NSW
|
Posted: Thu Jan 17, 2013 2:33 am Post subject: |
|
|
| I've always wondered how helpdesk workers turn evil. The answer to that is starting to dawn on me. |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Thu Jan 17, 2013 4:12 am Post subject: |
|
|
Source code is in link at bottom:
http://www.efg2.com/Lab/ImageProcessing/FlipReverseRotate.htm _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
|