argra****@users*****
argra****@users*****
2012年 11月 29日 (木) 18:51:12 JST
Index: docs/modules/YAML-0.62/ysh.pod diff -u docs/modules/YAML-0.62/ysh.pod:1.1 docs/modules/YAML-0.62/ysh.pod:1.2 --- docs/modules/YAML-0.62/ysh.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/ysh.pod Thu Nov 29 18:51:11 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original ysh - The YAML Test Shell +=end original + ysh - YAML ãã¹ãã·ã§ã« =head1 æ¦è¦ @@ -12,41 +16,61 @@ =head1 説æ +=begin original + 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. +=end original + ãã®ããã°ã©ã 㯠YAML.pm ã¢ã¸ã¥ã¼ã«ã¨ã¤ã³ã¿ã©ã¯ãã£ãã«éã¹ãããã« ä½ããã¦ãã¾ã. Perl è¨èªã§ã¿ã¤ãããã¨, ããã YAML ã§å¸°ã£ã¦ããã, ä»ã«ãããããããã¾ã. +=begin original + By default, every line you type is a one line Perl program, the return value of which will be displayed as YAML. +=end original + ããã©ã«ãã§ã¯, å ¥åããåè¡ã Perl ã®ããã°ã©ã 1è¡ã«ãªã, ãã®å¾©å¸°å¤ã YAML å½¢å¼ã§è¡¨ç¤ºããã¾ã. +=begin original + To enter multi-line Perl code start the first line with ';' and use as many lines as needed. Terminate with a line containing just ';'. +=end original + è¤æ°è¡ããæã Perl ã³ã¼ããå ¥åããã¨ãã«ã¯, æåã®è¡ã ';' 㧠å§ãã¦, å¿ è¦ãªåã®è¡ãå ¥åãã¦ãã ãã. ';' ã®ã¿ããæãè¡ã§çµäºãã¾ã. +=begin original + 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 '...'. +=end original + YAML ããã¹ããå ¥åããã¨ãã¯, æå¹ãª YAML ã»ãã¬ã¼ã¿/ãããè¡, 大æµã¯ '---' ããå§ãã¦ãã ãã. YAML ãããããªãã¨ãã«ã¯ '===' ã使ã£ã¦ãã ãã. å¿ è¦ãªåã®è¡ãå ¥åãã¦ãã ãã. '...' ããæãè¡ã§çµäºãã¾ã. +=begin original + 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): +=end original + å¤é¨ã® YAML ãã¡ã¤ã«ããèªã¿è¾¼ãã§å¦çããã¨ãã«ã¯, '< filename' ã¨ å ¥åãã¦ãã ãã. ysh ã¯ç¬ç«ãããã£ã«ã¿ã¨ãã¦ãæ©è½ãã¾ã. STDIN ãã YAML ã¹ããªã¼ã ã§ä½ããèªã¿è¾¼ã¿, STDOUT ã« Perl ãåºåãã¾ã. @@ -60,114 +84,174 @@ =item -MYAML::Module +=begin original + Set the YAML implementation module you wish. +=end original + YAML ãå®è£ ãã¦ããã¢ã¸ã¥ã¼ã«ã§ä½¿ãããç©ãè¨å®ãã¾ã. =item -l +=begin original + Keep a log of all ysh activity in './ysh.log'. If the log file already exists, new content will be concatenated to it. +=end original + ysh ã®å ¨ã¦ã®åä½ãã°ã './ysh.log' ã«æ®ãã¾ã. ãããã°ãã¡ã¤ã«ã æ¢ã«åå¨ãã¦ããã, æ°ãããã°ã¯ãã®å¾ãã«è¿½å ããã¾ã. =item -L +=begin original + Keep a log of all ysh activity in './ysh.log'. If the log file already exists, it will be deleted first. +=end original + ysh ã®å ¨ã¦ã®åä½ãã°ã './ysh.log' ã«æ®ãã¾ã. ãããã°ãã¡ã¤ã«ã æ¢ã«åå¨ãã¦ããã, å ã«åé¤ããã¾ã. =item -r +=begin original + 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. +=end original + ã©ã¦ã³ãããªãããã¹ã. å ¥åãããå ¨ã¦ã® Perl ã³ã¼ãçã¯ãã³ããã, ãã¼ããã, ããã¦åã³ãã³ãããã¾ã. ããï¼åã®ãã³ããä¸è´ããªããã° ã¨ã©ã¼ã¡ãã»ã¼ã¸ãå ±åããã¾ã. =item -R +=begin original + Same as above, except that a B<confirmation> message will be printed when the roundtrip succeeds. +=end original + ä¸ã¨åæ§ã§ãã, ã©ã¦ã³ãããªãããæåããã¨ãã«B<確èª>ã¡ãã»ã¼ã¸ã åºåããã¾ã. =item -i<number> +=begin original + Specify the number of characters to indent each level. This is the same as setting $YAML::Indent. +=end original + ã¤ã³ãã³ãã®åã¬ãã«ã§ä½æåã¤ã³ãã³ãããããæå®ãã¾ã. $YAML::Indent è¨å®ã¨åãã§ã. =item -ub +=begin original + Shortcut for setting '$YAML::UseBlock = 1'. Force multiline scalars to use 'block' style. +=end original + '$YAML::UseBlock = 1' ã®ã·ã§ã¼ãã«ããã§ã. è¤æ°è¡ã®ã¹ã«ã©ã¼ã¯ 'block' ã¹ã¿ã¤ã«ã使ãããã«å¼·å¶ãã¾ã. =item -uf +=begin original + Shortcut for setting '$YAML::UseFold = 1'. Force multiline scalars to use 'folded' style. +=end original + '$YAML::UseFold = 1' ã®ã·ã§ã¼ãã«ããã§ã. è¤æ°è¡ã®ã¹ã«ã©ã¼ã¯ 'folded' ã¹ã¿ã¤ã«ã使ãããã«å¼·å¶ãã¾ã. =item -uc +=begin original + Shortcut for setting '$YAML::UseCode = 1'. Allows subroutine references to be processed. +=end original + '$YAML::UseCode = 1' ã®ã·ã§ã¼ãã«ããã§ã. é¢æ°ãªãã¡ã¬ã³ã¹ã®å¦çã 許å¯ãã¾ã. =item -nh +=begin original + Shortcut for setting '$YAML::UseHeader = 0'. +=end original + '$YAML::UseHeader = 0' ã®ã·ã§ã¼ãã«ããã§ã. =item -nv +=begin original + Shortcut for setting '$YAML::UseVersion = 0'. +=end original + '$YAML::UseVersion = 0' ã®ã·ã§ã¼ãã«ããã§ã. =item -v +=begin original + Print the versions of ysh and YAML.pm. +=end original + ysh 㨠YAML.pm ã®ãã¼ã¸ã§ã³ã表示ãã¾ã. =item -V +=begin original + In addition to the -v info, print the versions of YAML related modules. +=end original + -v ã®æ å ±ã«å ãã¦, YAML ã«é¢ä¿ããã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ã表示ãã¾ã. =item -h +=begin original + Print a help message. +=end original + ãã«ãã¡ãã»ã¼ã¸ã表示ãã¾ã. =back =head2 YSH_OPT +=begin original + 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: +=end original + 好ã¿ã®ãªãã·ã§ã³ã ysh ã使ããã³æ¯åæã¡è¾¼ãã®ãé¢åãªã²ã¨ã¯, ããã C<YSH_OPT> ç°å¢å¤æ°ã«è¨å®ãã¦ãããã¨ãåºæ¥ã¾ã. 次ã®ããã«ãªãã§ããã: @@ -190,13 +274,21 @@ Copyright (c) 2001, 2002. Brian Ingerson. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html>