YAMASHINA Hio
hio****@users*****
2006年 10月 22日 (日) 20:36:09 JST
Index: docs/modules/YAML-0.62/ysh.pod diff -u /dev/null docs/modules/YAML-0.62/ysh.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/ysh.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,202 @@ +=encoding utf-8 + +=head1 åå + +ysh - The YAML Test Shell + +ysh - YAML ãã¹ãã·ã§ã« + +=head1 æ¦è¦ + + ysh [options] + +=head1 説æ + +This program is designed to let you play with the YAML.pm module in +an interactive way. When you to type in Perl, you get back YAML. And +vice versa. + +ãã®ããã°ã©ã 㯠YAML.pm ã¢ã¸ã¥ã¼ã«ã¨ã¤ã³ã¿ã©ã¯ãã£ãã«éã¹ãããã« +ä½ããã¦ãã¾ã. Perl è¨èªã§ã¿ã¤ãããã¨, ããã YAML ã§å¸°ã£ã¦ããã, +ä»ã«ãããããããã¾ã. + +By default, every line you type is a one line Perl program, the return +value of which will be displayed as YAML. + +ããã©ã«ãã§ã¯, å ¥åããåè¡ã Perl ã®ããã°ã©ã 1è¡ã«ãªã, +ãã®å¾©å¸°å¤ã YAML å½¢å¼ã§è¡¨ç¤ºããã¾ã. + +To enter multi-line Perl code start the first line with ';' and use as +many lines as needed. Terminate with a line containing just ';'. + +è¤æ°è¡ããæã Perl ã³ã¼ããå ¥åããã¨ãã«ã¯, æåã®è¡ã ';' 㧠+å§ãã¦, å¿ è¦ãªåã®è¡ãå ¥åãã¦ãã ãã. ';' ã®ã¿ããæãè¡ã§çµäºãã¾ã. + +To enter YAML text, start with a valid YAML separator/header line +which is typically '---'. Use '===' to indicate that there is no YAML +header. Enter as many lines as needed. Terminate with a line +containing just '...'. + +YAML ããã¹ããå ¥åããã¨ãã¯, æå¹ãª YAML ã»ãã¬ã¼ã¿/ãããè¡, +大æµã¯ '---' ããå§ãã¦ãã ãã. YAML ãããããªãã¨ãã«ã¯ +'===' ã使ã£ã¦ãã ãã. å¿ è¦ãªåã®è¡ãå ¥åãã¦ãã ãã. +'...' ããæãè¡ã§çµäºãã¾ã. + +To read in and process an external YAML file, enter '< filename'. The +ysh will also work as a standalone filter. It will read anything on +STDIN as a YAML stream and write the Perl output to STDOUT. You can say +(on most Unix systems): + +å¤é¨ã® YAML ãã¡ã¤ã«ããèªã¿è¾¼ãã§å¦çããã¨ãã«ã¯, '< filename' 㨠+å ¥åãã¦ãã ãã. ysh ã¯ç¬ç«ãããã£ã«ã¿ã¨ãã¦ãæ©è½ãã¾ã. +STDIN ãã YAML ã¹ããªã¼ã ã§ä½ããèªã¿è¾¼ã¿, STDOUT ã« Perl ãåºåãã¾ã. +(大æµã® Unix ã·ã¹ãã ã§ã¯)次ã®ããã«ä½¿ããã¨ãåºæ¥ã¾ã: + + cat yaml.file | ysh | less + +=head1 ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ + +=over 4 + +=item -MYAML::Module + +Set the YAML implementation module you wish. + +YAML ãå®è£ ãã¦ããã¢ã¸ã¥ã¼ã«ã§ä½¿ãããç©ãè¨å®ãã¾ã. + +=item -l + +Keep a log of all ysh activity in './ysh.log'. If the log file already +exists, new content will be concatenated to it. + +ysh ã®å ¨ã¦ã®åä½ãã°ã './ysh.log' ã«æ®ãã¾ã. ãããã°ãã¡ã¤ã«ã +æ¢ã«åå¨ãã¦ããã, æ°ãããã°ã¯ãã®å¾ãã«è¿½å ããã¾ã. + +=item -L + +Keep a log of all ysh activity in './ysh.log'. If the log file already +exists, it will be deleted first. + +ysh ã®å ¨ã¦ã®åä½ãã°ã './ysh.log' ã«æ®ãã¾ã. ãããã°ãã¡ã¤ã«ã +æ¢ã«åå¨ãã¦ããã, å ã«åé¤ããã¾ã. + +=item -r + +Test roundtripping. Every piece of Perl code entered will be Dumped, +Loaded, and Dumped again. If the two stores do not match, an error +message will be reported. + +ã©ã¦ã³ãããªãããã¹ã. å ¥åãããå ¨ã¦ã® Perl ã³ã¼ãçã¯ãã³ããã, +ãã¼ããã, ããã¦åã³ãã³ãããã¾ã. ããï¼åã®ãã³ããä¸è´ããªããã° +ã¨ã©ã¼ã¡ãã»ã¼ã¸ãå ±åããã¾ã. + +=item -R + +Same as above, except that a B<confirmation> message will be printed +when the roundtrip succeeds. + +ä¸ã¨åæ§ã§ãã, ã©ã¦ã³ãããªãããæåããã¨ãã«B<確èª>ã¡ãã»ã¼ã¸ã +åºåããã¾ã. + +=item -i<number> + +Specify the number of characters to indent each level. This is the same +as setting $YAML::Indent. + +ã¤ã³ãã³ãã®åã¬ãã«ã§ä½æåã¤ã³ãã³ãããããæå®ãã¾ã. +$YAML::Indent è¨å®ã¨åãã§ã. + +=item -ub + +Shortcut for setting '$YAML::UseBlock = 1'. Force multiline scalars to +use 'block' style. + +'$YAML::UseBlock = 1' ã®ã·ã§ã¼ãã«ããã§ã. è¤æ°è¡ã®ã¹ã«ã©ã¼ã¯ +'block' ã¹ã¿ã¤ã«ã使ãããã«å¼·å¶ãã¾ã. + +=item -uf + +Shortcut for setting '$YAML::UseFold = 1'. Force multiline scalars to +use 'folded' style. + +'$YAML::UseFold = 1' ã®ã·ã§ã¼ãã«ããã§ã. è¤æ°è¡ã®ã¹ã«ã©ã¼ã¯ +'folded' ã¹ã¿ã¤ã«ã使ãããã«å¼·å¶ãã¾ã. + +=item -uc + +Shortcut for setting '$YAML::UseCode = 1'. Allows subroutine references +to be processed. + +'$YAML::UseCode = 1' ã®ã·ã§ã¼ãã«ããã§ã. é¢æ°ãªãã¡ã¬ã³ã¹ã®å¦çã +許å¯ãã¾ã. + +=item -nh + +Shortcut for setting '$YAML::UseHeader = 0'. + +'$YAML::UseHeader = 0' ã®ã·ã§ã¼ãã«ããã§ã. + +=item -nv + +Shortcut for setting '$YAML::UseVersion = 0'. + +'$YAML::UseVersion = 0' ã®ã·ã§ã¼ãã«ããã§ã. + +=item -v + +Print the versions of ysh and YAML.pm. + +ysh 㨠YAML.pm ã®ãã¼ã¸ã§ã³ã表示ãã¾ã. + +=item -V + +In addition to the -v info, print the versions of YAML related modules. + +-v ã®æ å ±ã«å ãã¦, YAML ã«é¢ä¿ããã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ã表示ãã¾ã. + +=item -h + +Print a help message. + +ãã«ãã¡ãã»ã¼ã¸ã表示ãã¾ã. + +=back + +=head2 YSH_OPT + +If you don't want to enter your favorite options every time you enter +ysh, you can put the options into the C<YSH_OPT> environment variable. +Do something like this: + +好ã¿ã®ãªãã·ã§ã³ã ysh ã使ããã³æ¯åæã¡è¾¼ãã®ãé¢åãªã²ã¨ã¯, +ããã C<YSH_OPT> ç°å¢å¤æ°ã«è¨å®ãã¦ãããã¨ãåºæ¥ã¾ã. +次ã®ããã«ãªãã§ããã: + + export YSH_OPT='-i3 -uc -L' + +=head1 é¢é£é ç® + +L<YAML> + + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +Copyright (c) 2001, 2002. Brian Ingerson. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> +