View Single Post
Old 11-06-2011, 05:55 PM   #1
neurocyp
Junior Member
neurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with othersneurocyp plays well with others
 
Posts: 5
Karma: 2954
Join Date: May 2011
Device: iLiad
Reflow script for txt files

Hi,
I usually read with "txt" files, and it finally occured to me, that I can write script, that could permanently reflow a file, I would like to read.

I installed it into extensions.cfg file, so the txt file I have configured as:

Code:
txt:@Text_file:1:fbreader.app,cr3.app,reflow.app,fbreader180.app:ICON_TXT
Now i can use "run with" function in the explorer, and pick "reflow", and I would have a file reflown. The script makes backup file, which would it refuse to overwrite

btw, It also strips "\r" characters

have, fun anyway,
and regards
Cyprian
Attached Files
File Type: gz reflow.sh.tar.gz (1.1 KB, 343 views)
neurocyp is offline   Reply With Quote