Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.143.974 Times

cstrings 2.3.1

  Date Added: June 09, 2010  |  Visits: 484

cstrings

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

A lightweight internationalization tool for C code, for those who find gettext too bulky and intrusive. Extracts strings from a program and turns them into #defines in a pre-pended code section. Has good features for building up your message base incrementally. This tool can be used to massage input C source so that literal strings in it are replaced by generated #define symbols, with the list of #defines prepended to the resulting source code. String literals on #include and #define lines and in comments are skipped. If no filenames are given, standard input is filtered to standard output. If filenames are given (and appropriate write permissions are present), each file is replaced by its converted result (the replace is done with a link(2), so the program is signal-safe). To avoid heartbreak and death threats to the author, it is recommended that you not use this feature without looking at the filtered version first to ensure that its what you really want. The string argument of a -r option is interpreted as a comma-separated list of line numbers or line number ranges to which the string filtering is to be limited. A range of the form " -" is taken to signify all lines from line to EOF; a range of the form "- " signifies all lines from the start of file to line . Additionally, any range or number may be preceded by !; this causes filtering to be suppressed for the lines designated. If the first character of a range option is !, filtering is assumed initially on for all lines, rather than off. The -t option sets the template with which string labels are generated. The default is "G%05d". The template is sprintfed with a sequence number as argument. The -m option takes a numeric argument, interpreted as a minimum length. All strings less than that size are ignored. Note that this minimum length defaults to 3, you must say -m 1 or -m 2 to see all short strings. The -c option suppresses the normal action and instead causes a list of strings that would otherwise be #define-ized (each preceded by its line number) to be emitted to stdout. If -c is used with file arguments a report with sections headed by file names will be generated. The -c option permits you to anticipate the effects of a substitution without having to look at the whole source file. This tool is best used by doing repeated -c runs, adding to an -r argument until you have it down to filtering just the lines you want, and then dropping the -c to do the actual conversion. Then you can move the list of generated #defines to an appropriate spot with a text editor. Limitations:.

Requirements: No special requirements
Platforms: Linux
Keyword: Cstrings Internationalization Line Lines List Of Option Programming Strings Tool
Users rating: 0/10

License: Freeware Size: 18.43 KB
CSTRINGS RELATED
Development Tools  -  Converting a list of equal length lists into XML 1.0
This module takes a list of equal length lists and converts it into XML. If the first sublist is a list of headings, these are used to form the element names of the rest of the data, or these can be defined in the function call. Root and "row"...
 
Miscellaneous  -  A List of Dictionaries 1.0
This  class emulates a list of dictionary objects without the memory and pickle storage overhead which occurs when storing every item in the list as a dictionary.
 
Miscellaneous  -  Transposing a List of Lists 1.0
This script allows you to transpose a list of lists of different lengths.
 
Network & Internet  -  W3C-PHP 1.1
W3C-PHP is a little php-cli script that can validate a list of URLs trough the W3C validator Web site (http://validator.w3.org/) with PHP-DOM functions. Configuration: list.txt -> contain the list of url that you need to validate the URLs...
10.24 KB  
Libraries  -  Hash::Type 1.05
Hash::Type module contains pseudo-hashes as arrays tied to a "type" (list of fields). SYNOPSIS use Hash::Type; # create a Hash::Type my $personType = new Hash::Type(qw(firstname lastname city)); # create and populate some hashes tied to...
8.19 KB  
Libraries  -  jTokeniser 2.0
jTokeniser project is a Java library for tokenising strings into a list of tokens.. The website of Andrew Roberts, Schoolof Computing, University of Leeds. Research interests: Natural LanguageLearning (NLL), Grammar Inference, Natual Language...
84.99 KB  
Libraries  -  Acme::Hyperindex 0.12
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. SYNOPSIS use strict; use Acme::Hyperindex; my @struct = ( { j_psi => [qw( eta_prime phi kaon )] }, { j_psi => [qw( selectron down tau_sneutrino )] },...
4.1 KB  
Audio Tools  -  dialog-mp3-list 0.60
dialog-mp3-list generates an organized list of your CDs and directories of MP3s. It shows a numbered list of MP3s with information on their encoding speed and track lengths. It uses Dialog/XDialog and Latex to create lists in .tex, .ps, and .pdf...
77.82 KB  
Libraries  -  Math::HashSum 0.02
Math::HashSum can sum a list of key-value pairs on a per-key basis. SYNOPSIS use Math::HashSum qw(hashsum); my %hash1 = (a=>.1, b=>.4); my %hash2 = (a=>.2, b=>.5); my %sum = hashsum(%hash1,%hash2); print "$sum{a}n"; # Prints .3 print...
18.43 KB  
Audio Tools  -  MP3 Report Generator 1.0.2
MP3 Report Generator is a customizable program to scan a list of (sub)directories, creating a report from an HTML template. Also calculates various statistics and each songs playing time. Supports ID3 and ID3v2 tags. All options can be...
36.86 KB  
NEW DOWNLOADS IN PROGRAMMING, SPECIALIZED TOOLS
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Specialized Tools  -  SIMRI 2.0
SIMRI: a versatile and interactive Magnetic Resonance Imaging (MRI) simulator.Such a simulator is a command line software written in C that reproduces the physical phenomenas encountered during an MRI acquisition to produce a realistic MRI image.
6.39 MB  
Specialized Tools  -  Java Web Start Plugin for Eclipse 1.2.1
Java Web Start Plugin for Eclipse (WS4E) helps you to deploy your Java application through Java Web Start. With WS4E, Developers with very little knowledge can deploy their applications with just a few clicks. For advanced developers, WS4E is...
204.8 KB  
Specialized Tools  -  TUGGO for Linux 1.0.0
TUGGO is a website management system allowing anyone to easily create their own website without any code knowledge.
942.08 KB  
Specialized Tools  -  Jigs Persistent Objects (JPO) 0.2
Welcome to the Java Persistent Objects (JPO) project site. This site is dedicated to Java developers attempting to find a simple solution to object persistence in a relational database (or object-relational mapping). Get the latest...
1.4 MB  
Specialized Tools  -  Parcels for Linux 1.0
Web documents that look similar often use different HTML tags to achieve their layout effect. These tags often make it difficult for a machine to find text or images of interest. PARCELS is a backend system [Java] designed to...
1.14 MB