AminetAminet
Search:
84719 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/edit/TabRen.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:renders tabs to spaces & vice versa
Author:lombi at iprimus.com.au (Lorence Lombardo)
Uploader:lombi iprimus com au (Lorence Lombardo)
Type:text/edit
Version:1.1
Architecture:m68k-amigaos
Date:2014-02-01
Download:http://aminet.net/text/edit/TabRen.lha - View contents
Readme:http://aminet.net/text/edit/TabRen.readme
Downloads:940

[2nd upload]  Now works on 020+, FPU no longer necessary.


TabRen v1.1  (C) 2011-2014  Lorence Lombardo.


WTF is TabRen ?

TabRen renders text tabs to spaces. If the "r" switch is true then TabRen
will work in reverse and render the specified space number to tabs.


Usage:-

TabRen <in_file> <out_file> [space#] [r=reverse]


The default [space#] is 3.


TabRen was inspired by the fact that I was not able to work out how to set
the tab size in my favourite directory utilities text reader.
ie. DiskMaster 2.5.30a


I have the following lines in my DiskMaster configuration:-


AddMenu TEXT, TabRead, Confirm "Enter the tab size value you want." Continue
Cancel 3;extern c:TabRen %s t:temp.txt %r;Read t:temp.txt;Delete t:temp.txt
AddMenu TEXT, TabRen, extern c:TabRen %s %d%n
AddMenu TEXT, TabRen R, Confirm "Enter the space number you want to tab."
Continue Cancel 3;extern c:TabRen %s %d%n %r r



Feeling bored ?  :)
Why not check out this URL ?

http://home.iprimus.com.au/lombi/1/homepage.htm



Contents of text/edit/TabRen.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 4434    4536  97.8% -lh5- 7def Jan 25 15:12 TabRen
[unknown]                  633    1212  52.2% -lh5- 4dce Jan 26 14:52 TabRen.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files    5067    5748  88.2%            Feb  1 19:01

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>