[前][次][番号順一覧][スレッド一覧]

ruby-changes:63803

From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Nov 2020 19:12:25 +0900 (JST)
Subject: [ruby-changes:63803] 89774a938a (master): [DOC] Update -l option [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=89774a938a

From 89774a938a5681193297c5346eeab4ee1dac563b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 30 Nov 2020 19:06:25 +0900
Subject: [DOC] Update -l option [ci skip]

`-l` option has used `chomp!` since Ruby 2.5.  [Bug #12926]

diff --git a/man/ruby.1 b/man/ruby.1
index 1888312..9f0ae05 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -313,7 +313,7 @@ Enables automatic line-ending processing, which means to firstly set https://github.com/ruby/ruby/blob/trunk/man/ruby.1#L313
 to the value of
 .Li "$/" ,
 and secondly chops every line read using
-.Li chop! .
+.Li chomp! .
 .Pp
 .It Fl n
 Causes Ruby to assume the following loop around your script, which
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]