Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gauche-cesconv(1) [debian man page]

GAUCHE-CESCONV(1)						  Gauche Commands						 GAUCHE-CESCONV(1)

NAME
gauche-cesconv - convert text from one character encoding scheme to another SYNOPSIS
gauche-cesconv [-h] [-f encoding] [-t encoding] [-o outfile] [infile] DESCRIPTION
The gauche-cesconv command is a program to convert text from one character encoding scheme (CES) to another, using Gauche's character conversion module. Hence the supported character sets are the same as Gauche's. See the info document of Gauche for more details. There are other commands that provide the same functionality and more, such as iconv(1) or nkf(1), but they are not universally available by default. This command is provided for Gauche's external packages to ease the installation and configuration process; for those packages, it is certain that gauche-cesconv is available, so they don't need to check availability of iconv etc. When infile is omitted, the text is read from standard input. OPTIONS
-f, --from-code=encoding Selects input encoding. Can be '*JP' to guess the character encoding from japanese text, among either ISO2022-JP(-1,2,3), EUCJP, SHIFT_JIS or UTF-8. If omitted, gauche's native CES is used. -h, --help Show summary of options. -o, --output=outfile Place output in file outfile. If omitted the converted text is written to standard output. -t, --to-code=encoding Selects output encoding. (see also --from-code) DIAGNOSTICS
gauche-cesconv exits with status 0 on success. SEE ALSO
gauche-package(1), iconv(1) The program will be documented fully by the Gauche Developers' Reference available via the info(1) system. AUTHORS
Shiro Kawai <shiro@acm.org> Author. Jens Thiele <karme@karme.de> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2010 Jens Thiele Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Gauche 0.9.1 GAUCHE-CESCONV(1)

Check Out this Related Man Page

GOSH(1) 							  Gauche Commands							   GOSH(1)

NAME
gosh - a Scheme script interpreter SYNOPSIS
gosh [-biqV] [-I path ] [-A path ] [-u module ] [-l file ] [-e expr ] [-E expr ] [-f flag ] [--] [ script argument ... ] DESCRIPTION
Gosh is a stand-alone Scheme interpreter built on top of the Gauche Scheme script engine. When script is given, gosh loads the script, evaluating Scheme code in it. Then, if the script defines a procedure named main, gosh calls it with a single argument which is a list of the script name and subsequent arguments. When main returns an integer value, gosh exits with it as an exit code. If main returns non-integer value, or an error is signaled during evaluation, gosh exits with exit code 70 (EX_SOFT- WARE). See SRFI-22 (http://srfi.schemers.org/srfi-22/srfi-22.html) for details. If there's no main procedure defined in the script, gosh exits with code 0 after loading the script file. If no script file is given, gosh goes into an interactive mode. By default, gosh prompts the user to enter a Scheme expression, read and evaluates it, then prints the result, until EOF is read. If the standard input is not a terminal, however, gosh doesn't print a prompt; it allows a user to use gosh as a filter program. This behavior can be controlled by -i or -b option; see below. OPTIONS
Command line options are processed before loading the script file or entering the interactive mode. The options -I, -A, -u, -l, -L, -e and -E are processed in the order of appearance. For example, adding a load path by -I option affects the -l options after it, but not the ones before it. -V Prints gosh version and exits. -b Batch mode. Doesn't print prompt even the standard input is a terminal. Supersedes -i. -i Interactive mode. Forces to print prompt, even the standard input is not a terminal. -q Prevents reading the default initialization file. -Ipath Adds path in front of the load path list. -Apath Appends path to the tail of the load path list. -umodule Loads and imports module, as if "(use module )" is specified in the code. -lfile Loads a Scheme file file. -Lfile Like -l, but doesn't complain if file doesn't exist. -eexpr Evaluates a Scheme expression expr. -Eexpr Same as -e, except that the expr is read as if it is surrounded by parenthesis. -ptype Turns on the profiler. Currently type can only be 'time'. -fflag Sets various flags. case-fold uses case-insensitive reader (as in R5RS) load-verbose report while loading files no-inline don't inline primitive procedures and constants (combined no-inline-globals, no-inline-locals, and no-inline-constants.) no-inline-globals don't inline global procedures. no-inline-locals don't inline local procedures. no-inline-constants don't inline constants. no-post-inline-pass don't run post-inline optimization pass. -Ffeature Makes feature available in cond-expand forms. -- Specifies that there are no more options. If there are more arguments after this, they are taken as script file name and its argu- ments. ENVIRONMENT
GAUCHE_LOAD_PATH A colon separated list of the load paths. The paths are appended before the system default load paths. GAUCHE_DYNLOAD_PATH A colon separated list of the load paths for dynamically loaded objects. The paths are appended before the system default load paths. AUTHORS
Shiro Kawai (shiro @ acm . org) SEE ALSO
gauche-config(1) Gauche Scheme script engine: http://practical-scheme.net/gauche/ For the information about Scheme language, see http://www.schemers.org/ Gauche 0.9.1 GOSH(1)
Man Page