
com.Ostermiller.util.Tabs.bte Maven / Gradle / Ivy
Go to download
Open source (GPL) Java utilities maintained by Stephen Ostermiller with help from many contributors.
The newest version!
<%bte.doc super="item.bte" %>
<%bte.tpl name=pageTitle%>Tabs<%/bte.tpl%>
<%bte.tpl name=description%>Tab adjuster that can convert tabs to spaces and vice versa.<%/bte.tpl%>
<%bte.tpl name=keywords%>adjust tabs, modify tabs, tabs to spaces, spaces to tabs, java tabs library, library for tabs, tabs utility<%/bte.tpl%>
<%bte.tpl name=topcontent%>
Converts tabs to spaces or spaces to tabs at the beginning of each line of files.
<%/bte.tpl%>
<%bte.tpl name=content%>
Internationalization - included languages:
- English
Translations gladly accepted. Please translate
Tabs.properties.
You may want to use:
Attesoro - A Java Translation Editor.
Features
- Detects binary files and does not modify those files unless forced.
- Can guess the tab spacing in a file and convert from the guess.
To run the program use the following command line:
java -classpath utils.jar com.Ostermiller.util.Tabs <file>
Tabs [-wgtsfVvqQ] <files>
Adjusts the tabs and spaces at the beginning of each line in files.
If no files are specified standard input and output will be used.
--help Print this help message.
--version Print out the version number.
--about Print out license and contact info.
-w --width <num> Tab width (in spaces) of the input.
-g --guess Guess the tab width of the input file. (default)
-t --tabs Use tabs in the output.
-s --spaces <num> Use this many spaces (not tabs) in the output. (default=4)
-f --force Always modify unformatted files, even binary files.
--noforce Don't modify binary files. (default)
-V --reallyverbose Print a message for each file.
-v --verbose Print a message for each file modified.
-q --quiet Print error messages. (default)
-Q --reallyquiet Print nothing.
<%/bte.tpl%>
<%bte.tpl name=linkTabs%>Tabs
<%/bte.tpl%>
<%/bte.doc%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy