Main > Free Download Search >

Free text files software for linux

text files

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 10996
Text::vFile::toXML 0.03

Text::vFile::toXML 0.03


Text::vFile::toXML can convert vFiles into equivalent XML. more>>
Text::vFile::toXML can convert vFiles into equivalent XML.

SYNOPSIS

This module converts iCalendar (iCal : generically, vFile) files into their (equivalent) XML (xCalendar / xCal) representation, according to Royers IETF Draft (http://tools.ietf.org/html/draft-royer-calsch-xcal-03).

# Enable functional interface
use Text::vFile::toXML qw(to_xml);

# Input filename
my $arg = "input.file";
my $a = Text::vFile::toXML->new(filename => $arg)->to_xml;
my $b = Text::vFile::toXML->new(filehandle =>
do { open my $fh, $arg or die "cant open ics: $!"; $fh }
)->to_xml;

use Text::vFile::asData; # to make the functional example work
my $data =
Text::vFile::asData->new->parse(
do {
open my $fh, $arg
or die "Cant open vFile: $!"; $fh
}
);
my $c = Text::vFile::toXML->new(data => $data)->to_xml;

# Use functional interface
my $d = to_xml($data);

# Now ($a, $b, $c, $d) all contain the same XML string.

<<less
Download (0.005MB)
Added: 2007-08-22 License: Perl Artistic License Price:
793 downloads
Text::TemplateFill 1.7

Text::TemplateFill 1.7


Text::TemplateFill is a Perl module for formatting of reports with templates from files, use for I18N. more>>
Text::TemplateFill is a Perl module for formatting of reports with templates from files, use for I18N.
SYNOPSIS
use Text::TemplateFill;
my $tmpl = new Text::TemplateFill;
$tmpl->SetOpt(BaseDir => "paras/$Country");
$tmpl->SetOpt(ErrorFunction => &LogMsg, LineTerminator => "rn");
# Must read all the files before printing a paragraph
$tmpl->ReadPara(Header, "head");
$tmpl->ReadPara(FirstPage);
$tmpl->ReadPara(Footer);
$tmpl->ReadPara(Body);
$tmpl->SetOpt(StartPageTag => Header);
my ($a, $b, $cn, $d) = (a, letter b, ACME Inc, 4.92);
$tmpl->BindVars(NameOfA => $a, B => $b, CustomerName => $cn, VarD => $d);
print $tmpl->GeneratePara(FirstPage); # Optional - since we want a specific 1st page
print $tmpl->GeneratePara(Body);
... $a = ...; $b = ...
print $tmpl->GeneratePara(Body);
print $tmpl->CompletePage;
Main features:
- I18N formatting support, eg: decimal comma in France
- I18N date support
- Automatic page breaks
- Variables are registered, not passed to each GeneratePara
- Items of text (paragraphs) that are output are initially read from a text file.
- Calculations may be defined as part of the paragraph definition in the file.
- Optional use of your own Error reporting code
- Variables can be formatted by the full power of printf
- Automatic page/paragraph counting
- Output is a string that may be then written anywhere
<<less
Download (0.021MB)
Added: 2007-08-06 License: Perl Artistic License Price:
809 downloads
TxtView 0.0.4

TxtView 0.0.4


TxtView is a script that shows the text files from the same directory of the song. more>>
TxtView is a script that shows the text files from the same directory of the song. TxtView script is mostly used to check the information contained in an album directory.
When starting the script, you can right click on a song in your playlist and go to "TxtView -> Open".
Enhancements:
- Option Wrap/No Wrap and Fixed/non fixed chars in the menu
- Using the built-in functions from Python unlike the QDir/file/etc...
- Open With ... in /usr/bin by default
- Use of mimetypes + filename to guess whatever it is a text file or not (I tried magic, but my first note was that it created a new dependence and second.. it didnt do well the job, my default /etc/magic file was empty, at the opposite mimetypes is builtin and does a good job)
<<less
Download (0.009MB)
Added: 2006-02-10 License: GPL (GNU General Public License) Price:
1351 downloads
Text::LooseCSV 1.5

Text::LooseCSV 1.5


Text::LooseCSV is a highly forgiving variable length record text parser; compare to MS Excel. more>>
Text::LooseCSV is a highly forgiving variable length record text parser; compare to MS Excel.

SYNOPSIS

use Text::LooseCSV;
use IO::File;

$fh = new IO::File $fname;
$f = new Text::LooseCSV($fh);

# Some optional settings
$f->word_delimiter("t");
$f->line_delimiter("n");
$f->no_quotes(1);

# Parse/split a line
while ($rec = $f->next_record())
{
if ($rec == -1)
{
warn("corrupt rec: ", $f->cur_line);
next;
}

# process $rec as arrayref
...
}


# Or, (vice-versa) create a variable-length record file
$line = $f->form_record( [ Debbie Does Dallas,30.00,VHS,Classic ] );

Why another variable-length text record parser? Ive had the privilege to parse some of the gnarliest data ever seen and everything else I tried on CPAN choked (at the time I wrote this module). This module has been munching on millions of records of the filthiest data imaginable at several production sites so I thought Id contribute.

This module follows somewhat loose rules (compare to MS Excel) and will handle embedded newlines, etc. It is capable of handling large files and processes data in line-chunks. If MAX_LINEBUF is reached, however, it will mark the current record as corrupt, return -1 and start over again at the very next line. This will (of course) process tab-delimited data or whatever value you set for word_delimiter.
Methods are called in perl OO fashion.

WARNING this module messes with $/ line_delimiter sets $/ and is always called during construction. Dont change $/ during program execution!

<<less
Download (0.006MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1037 downloads
TextSearch 0.7

TextSearch 0.7


TextSearch is a program that helps you search through a set of text files which are in a hierarchical structure. more>>
TextSearch is a program that helps you search through a set of text files which are in a hierarchical structure, i.e. a directory structure. Each document is searched using a regular expression and an overview of the results is shown as a tree structure. By clicking on a file, it can be viewed, with matches being highlighted.

As opposed to other programs out there, focus is not so much on statistics, i.e. how often a word would occur in an entire corpus of files, but rather on occurrences in single files.

TextSearch is published as open source under the GPL.

Why do I need it?

a) Youre writing your diploma thesis about the occurences of certain terms in publications by various political parties, and you need a way to quickly look for a certain term in many files.
b) Youre a programmer, you have a large code tree, and youd just like to know where youve used sprintf() instead of snprintf().

<<less
Download (0.015MB)
Added: 2007-07-14 License: GPL (GNU General Public License) Price:
853 downloads
Text::EP3 1.10

Text::EP3 1.10


EP3 Perl module is the Extensible Perl PreProcessor. more>>
EP3 Perl module is the Extensible Perl PreProcessor.

SYNOPSIS

# Use options and files from command-line
use Text::EP3;
[use Text::EP3::{Extension}] # Language Specific Modules
# create the PreProcessor object
my $preprocessor = new Text::EP3 file;
# do the preprocessing, using command-line options from @ARGV
$preprocessor->ep3_execute;

# Set options and files from the Perl script
use Text::EP3;
[use Text::EP3::{Extension}] # Language Specific Modules
# create the PreProcessor object
my $preprocessor = new Text::EP3 file;
# configure the PreProcessor object (optional)
$preprocessor->ep3_output_file([$filename]);
$preprocessor->ep3_modules([@modules]);
$preprocessor->ep3_includes([@include_directories]);
$preprocessor->ep3_reset;
$preprocessor->ep3_start_comment([$string]);
$preprocessor->ep3_end_comment([$string]);
$preprocessor->ep3_line_comment([$string]);
$preprocessor->ep3_delimiter([$string]);
$preprocessor->ep3_gen_depend_list([$value]);
$preprocessor->ep3_keep_comments([$value]);
$preprocessor->ep3_protect_comments([$value]);
$preprocessor->ep3_defines($string1=$string2);
# do the preprocessing
$preprocessor->ep3_process([$filename, [$condition]]);

EP3 is a Perl5 program that preprocesses STDIN or some set of input files and produces an output file. EP3 only works on input files and produces output files. It seems to me that if you want to preprocess arrays or somesuch, you should be using perl. EP3 was first developed to provide a flexible preprocessor for the Verilog hardware description language.

Verilog presents some problems that were not easily solved by using cpp or m4. I wanted to be able to use a normal preprocessor, but extend its functionality. So I wrote EP3 - the Extensible Perl PreProcessor. The main difference between EP3 and other preprocessors is its built-in extensibility. Every directive in EP3 is really a method defined in EP3, one of its submodules, or embedded in the file that is being processed. By linking the directive name to the associated methods, other methods could be added, thus extending the preprocessor.

<<less
Download (0.020MB)
Added: 2007-05-31 License: Perl Artistic License Price:
876 downloads
Text::VimColor 0.11

Text::VimColor 0.11


Text::VimColor is a syntax color text in HTML or XML using Vim. more>>
Text::VimColor is a syntax color text in HTML or XML using Vim.

SYNOPSIS

use Text::VimColor;
my $syntax = Text::VimColor->new(
file => $0,
filetype => perl,
);

print $syntax->html;
print $syntax->xml;

This module tries to markup text files according to their syntax. It can be used to produce web pages with pretty-printed colourful source code samples. It can produce output in the following formats:

HTML

Valid XHTML 1.0, with the exact colouring and style left to a CSS stylesheet

XML

Pieces of text are marked with XML elements in a simple vocabulary, which can be converted to other formats, for example, using XSLT

Perl array

A simple Perl data structure, so that Perl code can be used to turn it into whatever is needed

This module works by running the Vim text editor and getting it to apply its excellent syntax highlighting (aka font-locking) to an input file, and mark pieces of text according to whether it thinks they are comments, keywords, strings, etc. The Perl code then reads back this markup and converts it to the desired output format.

This is an object-oriented module. To use it, create an object with the new function (as shown above in the SYNOPSIS) and then call methods to get the markup out.

<<less
Download (0.020MB)
Added: 2006-09-12 License: Perl Artistic License Price:
1137 downloads
Tk::Text::Viewer 0.93

Tk::Text::Viewer 0.93


Tk::Text::Viewer is a text widget that can display text files under TK. more>>
Tk::Text::Viewer is a text widget that can display text files under TK. It enable the user to search text and navigate in a Text widget. The reason for creating this module is that it doesnt require downloading of modules other that Tk; Look for widget options in the Tk::Text manpage. A separate viewer.pl program is included and can be used as a stand alone file browser.
The Viewer widget also inherits all the methods provided by the generic Tk::Widget and Tk::Text classes.
The following additional method is available for viewer widgets:
$text_view->Load($filename)
Load file into the text widget.
$text_view->LabelConfig(string or hash ref)
$text_view->LabelConfig(``Search:)
Change label for the search entry field. You might want to change this label if the widget is used in a non English application.
$text_view->LabelConfig(``-cursor=> dot)
Change one label widget option (for example cursor).
$text_view->LabelConfig({text=>Find:,-cursor=>dot,...})
Replace label widget options with your own set of options. Do not change the Name option of the label widget. See the Tk::Label manpage for valid options
$text_view->EntryConfig(string or hash ref)
Change the entry widget options. Read LabelConfig for information about parameters. See the Tk::Entry manpage for valid options.
Enhancements:
- This version requiers Tk 804. If you have older Tk you my use version 0.91
- fix Tk::Entry options like -text to comply with Tk 804.027
- Enable utf8 support for UTF-8 locale on Perl 5.8
<<less
Download (0.010MB)
Added: 2006-07-15 License: Artistic License Price:
1201 downloads
File Splitter 1.3

File Splitter 1.3


Split large text/html files into smaller files. I find it much faster and more accurate than cut and paste. You embed commands in the big file telling it which pieces of it are to go where, then let Splitter do the work. It is much faster and more accurate than trying to select huge blocks of text in an editor. You dont accidentally lose or duplicate text. Keeping files small makes the site more responsive. more>>

File Splitter - Split large text/html files into smaller files. I find it

much faster and more accurate than cut and paste.

You embed commands in the big file telling it which pieces

of it are to go where, then let Splitter do the work. It is

much faster and more accurate than trying to select huge

blocks of text in an editor. You dont accidentally lose or

duplicate text. Keeping files small makes the site more

responsive.

In the following pretend that [...] are actually lessthan...greater than.

You embed multiple [split tags in the file to be split of

the form:

[split charlie.html]

...

stuff that will end up in the charlie.html file.

...

[/split]

The text between the [split xxx] and [/split] tags is split

off into that named file and the text is removed from the

original file along with the tags.

1. Filenames may be absolute or relative, with no quotes or spaces.

2. Tags may be nested, but they must balance (equal number

of [split xxx] and [/split]).

3. Tags are case-insensitive, i.e. may be lower or upper case.

4. Multiple [split xxx] tags may be directed to the same

file, where they will be appended.

5. If the files mentioned in the split tags already exist,

they will be overwritten.

6. Anything not inside [split xxx].. [/split] is retained in

the original file. Everything else is removed.

The file being split must be small enough to fit in RAM.

Java array addressing limits the file to 2GB, though other

considerations mean in practice the largest file you can

handle will be smaller still.

To install, Extract the zip download with Winzip, available from

http://www.winzip.com (or similar unzip utility) into any

directory you please, often C:\ -- ticking off the (user

folder names) option. To run as an application, type:

java -jar C:\com\mindprod\splitter\splitter.jar x.html

adjusting as necessary to account for where the jar file is.


Enhancements:
Version 1.3

allow you to specify encoding


System Requirements:
<<less
Download (711Kb)
Added: 2008-03-21 License: Free Price: Free
103 downloads
PatternText Creator 1.1

PatternText Creator 1.1


For volume editing of text base or text containing file(s). more>> PatternText Creator is a program for volume editing of text base or text containing file(s). This is ideal for work where a professional may need to replace the same sentence or word in multiple file(s). This program also offers additional features instead of just simple find and replace. The user can choose find and append, prepend with a custom string; find and remove the target find text string; find and reverse the order of the target find text string.<<less
Download (400KB)
Added: 2009-04-22 License: Freeware Price: Free
192 downloads
File::SmartNL 0.05

File::SmartNL 0.05


File::SmartNL is a slurp text files no matter the New Line (NL) sequence. more>>
File::SmartNL is a slurp text files no matter the New Line (NL) sequence.

SYNOPSIS

#####
# Subroutine Interface
#
use File::SmartNL qw(config fin fout smartnl);

$old_value = config( $option );
$old_value = config( $option => $new_value);
(@all_options) = config( );

$data = smart_nl($data);
$data = fin( $file_name, @options );
$char_count = fout($file_name, $data, @options);

######
# Object Interface
#
use File::SmartNL;

$default_options = File::SmartNL->default(@options);

$old_value = $default_options->config( $option );
$old_value = $default_options->config( $option => $new_value);
(@all_options) = $default_options->config( );

$data = File::SmartNL->smart_nl($data);
$data = File::SmartNL->fin( $file_name, @options );
$char_count = File::SmartNL->fout($file_name, $data, @options);

Generally, if a subroutine will process a list of options, @options, that subroutine will also process an array reference, @options, [@options], or hash reference, %options, {@options}. If a subroutine will process an array reference, @options, [@options], that subroutine will also process a hash reference, %options, {@options}. See the description for a subroutine for details and exceptions.

Different operating systems have different sequences for new-lines. Historically when computers where first being born, one of the mainstays was the teletype. The teletype understood ASCII. The teletype was an automated typewriter that would perform a carriage return when it received an ASCII Carriage Return (CR), 15, character and a new line when it received a Line Feed (LF), 12 character.

After some time came Unix. Unix had a tty driver that had a raw mode that sent data unprocessed to a teletype and a cooked mode that performed all kinds of translations and manipulations. Unix stored data internally using a single NL character at the ends of lines. The tty driver in the cooked mode would translate the New Line (NL) character to a CR,LF sequence. When driving a teletype, the physicall action of performing a carriage return took some time. By always putting the CR before the LF, the teletype would actually still be performing a carriage return when it received the LF and started a line feed.

After some time came DOS. Since the tty driver is actually one of the largest peices of code for UNIX and DOS needed to run in very cramp space, the DOS designers decided, that instead of writing a tailored down tty driver, they would stored a CR,LF in the internal memory. Data internally would be either text data or binary data.

Needless to say, after many years and many operating systems about every conceivable method of storing new lines may be found amoung the various operating systems. This greatly complicates moving files from one operating system to another operating system.

The smart NL methods in this package are designed to take any combination of CR and NL and translate it into the special NL seqeunce used on the site operating system. Thus, by using these methods, the messy problem of moving files between operating systems is mostly hidden in these methods. By using the fin and fout methods, text files may be freely exchanged between operating systems without any other processing.

The one thing not hidden is that the methods need to know if the data is text data or binary data. Normally, the assume the data is text and are overriden by setting the binary option.

Perl 5.6 introduced a built-in smart nl functionality as an IO discipline :crlf. See Programming Perl by Larry Wall, Tom Christiansen and Jon Orwant, page 754, Chapter 29: Functions, open function. For Perl 5.6 or above, the :crlf IO discipline my be preferable over the smart_nl method of this program module.

<<less
Download (0.082MB)
Added: 2007-02-09 License: Perl Artistic License Price:
987 downloads
mod_txt

mod_txt


mod_txt is a simple output filter module to display plain text files as HTML (or XHTML) with a header and footer. more>>
mod_txt is a simple output filter module to display plain text files as HTML (or XHTML) with a header and footer. When a text file is requested, mod_txt module escapes the text as required for HTML, and displays it between the header and the footer.

How to use it

Apart from setting the Header and Footer, you will need to insert the filter in the output chain, and set the Content Type to HTML. So a configuration to use this module looks like:

AddOutputFilter text-filter .txt
AddType text/html .txt
TextHeader /path/to/header-file
TextFooter /path/to/footer-file

Note that this is not a smart text filter, so the text should be enclosed in HTML < pre >. End the header file by opening PRE, and start the footer by closing it.

Configuration Directives

TextHeader

Syntax: TextHeader filename
Specifies a path to use as header for the text file.

TextFooter

Syntax: TextFooter filename
Specifies a path to use as footer for the text file.

<<less
Download (0.006MB)
Added: 2006-04-19 License: GPL (GNU General Public License) Price:
1285 downloads
Text::MetaText 0.22

Text::MetaText 0.22


Text::MetaText is a Perl extension implementing meta-language for processing template text files. more>>
Text::MetaText is a Perl extension implementing meta-language for processing "template" text files.

SYNOPSIS

use Text::MetaText;

my $mt = Text::MetaText->new();

# process file content or text string
print $mt->process_file($filename, %vardefs);
print $mt->process_text($textstring, %vardefs);

# pre-declare a BLOCK for subsequent INCLUDE
$mt->declare($textstring, $blockname);
$mt->declare(@content, $blockname);

SUMMARY OF METATEXT DIRECTIVES

%% DEFINE
variable1 = value # define variable(s)
variable2 = "quoted value"
%%

%% SUBST variable %% # insert variable value
%% variable %% # short form of above

%% BLOCK blockname %% # define a block blockname
block text...
%% ENDBLOCK %%

%% INCLUDE blockname %% # include blockname block text
%% INCLUDE filename %% # include external file filename

%% INCLUDE file_or_block # a more complete example...
variable = value # additional variable definition(s)
if = condition # conditional inclusion
unless = condition # conditional exclusion
format = format_string # printf-like format string with %s
filter = fltname(params) # post-process filter
%%

%% TIME # current system time, as per time(2)
format = format_string # display format, as per strftime(3C)
%%

<<less
Download (0.085MB)
Added: 2007-08-06 License: Perl Artistic License Price:
810 downloads
Text Text Revolution 0.11

Text Text Revolution 0.11


Text Text Revolution project is a text-based ncurses DDR clone. more>>
Text Text Revolution project is a text-based ncurses DDR clone.
Text Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
<<less
Download (0.044MB)
Added: 2006-12-08 License: GPL (GNU General Public License) Price:
1054 downloads
Text::Emoticon::GoogleTalk 0.01

Text::Emoticon::GoogleTalk 0.01


Text::Emoticon::GoogleTalk is a Perl module emoticon filter of GoogleTalk. more>>
Text::Emoticon::GoogleTalk is a Perl module emoticon filter of GoogleTalk.

SYNOPSIS

use Text::Emoticon::GoogleTalk;
my $emoticon = Text::Emoticon::GoogleTalk->new;

my $text = "I<<less
Download (0.002MB)
Added: 2006-11-30 License: Perl Artistic License Price:
1062 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5