PenUltima Online

It is currently Sat Sep 06, 2008 5:58 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Tab 1.0
PostPosted: Mon May 22, 2006 10:52 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
This one, is for those shards where several people used several different "formats" for their code. This will help you tab/detab the src/inc/etc as you want it to be. Very handy little tool.

Quote:
INTRODUCTION

Tab is basically a program to detab and entab files. It will also trim white
space from lines. Further it will remove all blank lines from a file or
leave a file with no more than one blank line together. That is, if a file
has areas with two or more blank lines, you can condense them to one.


USAGE

The following is the help screen that you see when you type Tab /? at the
command line.


USAGE: Tab [/?] [/D|/E] [/A|/B] [/1-9] [/T|/L|/R|/N|/O] FileSpec ...
/? Help. Display this help screen.
/D Detab. Convert tabs to spaces. DEFAULT
/E Entab. Convert spaces to tabs.
/A All. Convert all spaces/tabs. DEFAULT
/B Begin. Convert only beginning spaces/tabs.
/1-9 Tab size to use. 1 through 9 spaces. DEFAULT 2
/T Trim. Trim leading/trailing spaces/tabs from all lines.
/L LeftTrim. Trim leading spaces/tabs from all lines.
/R RightTrim. Trim trailing tabs from all lines.
/N NoBlankLines. Clears all lines with only white space.
/O OneBlankLine. No more than one consecutive blank line.
FileSpec File name/specifications. Can be more than one.
Use double quotes, "File Spec", if there is a space in the file spec.
Tab 1.0 Copyright 1998 by Ronald Terry Constant
Options are not case sensitive. The options, /D|/E and /A|/B and /1-9,
all work together. The options, /T|/L|/R|/N|/O, are all independent
of the options about tabs. Entab with All is not yet implemented.


Attachments:
File comment: Tab 1.0
tab4tp10.zip [174.85 KiB]
Downloaded 65 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl