NAME
zoid - a modular perl shell
SYNOPSIS
zoid [options] [-] [files]
DESCRIPTION
Zoidberg provides a modular Perl shell written, configured, and operated entirely in Perl. It aspires to be a fully operational login shell with all the features one normally expects. But it also gives direct access to Perl objects and data structures from the command line, and allows you to run Perl code within the scope of your commandline. Although Zoidberg does not do the language interpreting itself -- it uses perl to do this -- it supplies powerfull language extensions aimed at creating an easy to use interface.
By default zoid runs an interactive commandline when both STDIN and STDOUT are terminal devices, or reads from STDIN till End Of Line and execute each line like it was entered interactively. When an action is specified by one of the commandline options this will suppress the default behaviour and exit after executing that action. If any file names are given, these will be interpreted as source scripts and suppress default behaviour. Be aware that these source scripts are expected to be Perl scripts and are NOT interpreted or executed the same way as normal input.
OPTIONS
- -e command, --exec=command
-
Execute a string as interpreted by zoidberg. If non-interactive exits with exit status of command string. Multiple commands may be given to build up a multi-line script. Make sure to use semicolons where you would in a normal multiline script.
- -c command, --command=command
-
Does the same as --exec but this is bound to change.
- -h, --help
- -u, --usage
-
Print a help message and exits.
- -Idir[,dir]
-
The specified directories are prepended to the module search path
@INC
. - -i, --interactive
-
Start an interactive shell. This is the default if no other options are supplied.
- -l, --login
-
Force login behaviour, this will reset your current working directory. This variable is also available to plugins and scripts, which might act on it.
- -s, --stdin
-
read input from stdin. This is the default if no other options are supplied and neither stdin or stdout are terminal devices.
- -r file, --rcfile=file
-
Use an alternative rcfile.
- --norc
-
Skip all rcfiles.
- -C, --config
-
Print a list of configuration variable of this installation and exit.
- -V, --version
-
Display version information.
ENVIRONMENT
FIXME
FILES
FIXME
DIAGNOSTICS
Error messages may be issued either by perl or by one any of the modules in use. The zoid utility itself will only complain when the commandline options are wrong. If the error was thrown by one of the core modules, the error message will either start with the module name or the name of the command that went wrong.
FIXME what about debugging and more verbose errors ?
See also splain(1).
RESTRICTIONS
Source files and command input are NOT interpreted the same way.
Use -e or -c, do not mix them.
BUGS
Known bugs are listed in the BUGS file, which is included in the source package. Please report bugs through the bug tracker on the Sourceforce project page http://sourceforge.net/projects/zoidberg or mail pardus <pardus@users.sf.net>.
DOCUMENTATION
More elaborate documentation on the Zoidberg shell can be found online at http://zoidberg.sourceforge.net/doc or on your local system, probably in /usr/doc/zoid/ or in /usr/local/doc/zoid/. In interactive mode help
should be available by entering the command help
.
SEE ALSO
perl(1), Zoidberg(3), http://zoidberg.sourceforge.net
AUTHORS
Jaap Karssenberg || Pardus [Larus] <pardus@users.sf.net>
R.L. Zwart, <carl0s@users.sf.net>
COPYRIGHT
Copyright (c) 2002 Jaap G Karssenberg and RL Zwart. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See http://www.perl.com/language/misc/Artistic.html and http://www.gnu.org/copyleft/gpl.html