From: jaruga@... Date: 2021-05-12T19:13:18+00:00 Subject: [ruby-core:103804] [Ruby master Feature#17859] Start IRB when running just `ruby` Issue #17859 has been updated by jaruga (Jun Aruga). > I think firing up a console it's a good default behaviour for beginners. I can understand your intent. But could you tell us more about the context? In my experience, if I do not understand a command, I tend to run `[command] --help` or `man [command]`, not the `[command]`. Because running `[command]` could be dangerous. I hope a beginner will learn not to run `[command]` without `--help` when they do not know the command. To perl ``` $ perl # just hangs ``` I feel it depends on how much the following use case with Ctrl+D is important. ``` $ ruby p "abc" Ctrl+D "abc" ``` Even when ruby will be like python like your suggestion, I expect that the following use case still works. ``` $ ruby < p "abc" > EOF "abc" ``` ---------------------------------------- Feature #17859: Start IRB when running just `ruby` https://bugs.ruby-lang.org/issues/17859#change-91919 * Author: deivid (David Rodr�guez) * Status: Open * Priority: Normal ---------------------------------------- Compare python: ``` $ python Python 3.8.3 (default, Jul 8 2020, 16:49:12) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ``` To ruby: ``` $ ruby # just hangs ``` I think firing up a console it's a good default behaviour for beginners. -- https://bugs.ruby-lang.org/ Unsubscribe: