All Questions
5 questions
0
votes
0
answers
6k
views
Convert binary file to text file
I'm struggling with a srt subtitles, which are a binary file for some reason:
file -i file.srt
file.srt: application/octet-stream; charset=binary
When opening them in kate (KDE text editor) they look ...
0
votes
1
answer
2k
views
Simple Binary Replacement
I tried using bbe as below
bbe -e 's/01110011/01111000/' test.txt
All I'm trying to accomplish in this example is to read the file as if it's a binary file, and replacing the letter s with x.
I'm ...
2
votes
1
answer
1k
views
Text file being identified as binary
Background
I've been using lynx for a couple of years to dump automatically (via cron), process (using awk, sed, and tr), then mail (bsd-mailx) the contents of a web page. It's been working pretty ...
21
votes
3
answers
9k
views
md5sum command binary and text mode
The GNU md5sum command has two modes: binary mode and text mode. I guess the difference is only on how newline characters are handled? Am I right?
On GNU/Linux, the two modes always produce same ...
5
votes
2
answers
285
views
Get "Text Content" of Files
I was wondering if there is a tool to scrape text content of a file. Basically I would like to put in a pdf, word document, compressed file or anything else and get the text it contains out.
There ...