Be the first to rate this file! 4 downloads (last 30 days) File Size: 4.67 KB File ID: #4802

squeezefile

by Giuseppe Ridinò

 

23 Apr 2004 (Updated 13 May 2004)

No BSD License  

Squeeze text files.

Download Now | Watch this File

File Information
Description

This simple function scan a text file and, if necessary, rewrite it in order to remove all unusefull ending blanks. It also allows to adjust the starting spaces/tabs of each line.
It can be used when developing an application with lots of text files to make them look all in the same way, especially when using text editor with different tab sizes.
It can be applied recursively to subfolders.

MATLAB release MATLAB 6.1 (R12.1)
Zip File Content  
Other Files squeezefile.m,
Discalmer.txt,
ReadMe.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
28 Apr 2004

M file with online help is now available

13 May 2004

New options:
- apply recursively to subfolders
- hide/display log in the command window
- hide/display final report in the command window

Tag Activity for this File
Tag Applied By Date/Time
path Giuseppe Ridinò 22 Oct 2008 07:18:23
directories Giuseppe Ridinò 22 Oct 2008 07:18:23
files Giuseppe Ridinò 22 Oct 2008 07:18:23
text file Giuseppe Ridinò 22 Oct 2008 07:18:23
squeeze Giuseppe Ridinò 22 Oct 2008 07:18:23
rewrite Giuseppe Ridinò 22 Oct 2008 07:18:23
blanks Giuseppe Ridinò 22 Oct 2008 07:18:23
utilities Giuseppe Ridinò 22 Oct 2008 07:18:23
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com