Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rakudo's usage message in the case of illegal options is printed to STDOUT, not STDERR #6064

Closed
p6rt opened this issue Feb 11, 2017 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Feb 11, 2017

Migrated from rt.perl.org#130760 (status was 'resolved')

Searchable as RT130760$

@p6rt
Copy link
Author

p6rt commented Feb 11, 2017

From @moritz

$ perl6 --type=foo examples/dirstat.p6 > /dev/null
$
This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version
2017.01-31-g20dfa6b
implementing Perl 6.c.

Error messages should go to STDERR, so that pipes and redirects work as
expected in a Linux/UNIX environment.

--
Moritz Lenz
https://deploybook.com/ -- https://perlgeek.de/ -- https://perl6.org/

@p6rt
Copy link
Author

p6rt commented Jul 14, 2017

From @jnthn

On Sat, 11 Feb 2017 00​:42​:38 -0800, moritz wrote​:

$ perl6 --type=foo examples/dirstat.p6 > /dev/null
$
This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version
2017.01-31-g20dfa6b
implementing Perl 6.c.

Error messages should go to STDERR, so that pipes and redirects work as
expected in a Linux/UNIX environment.

Seems fixed by now; just needs a test.

@p6rt
Copy link
Author

p6rt commented Jul 14, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 14, 2017

From @jnthn

On Fri, 14 Jul 2017 09​:15​:59 -0700, jnthn@​jnthn.net wrote​:

On Sat, 11 Feb 2017 00​:42​:38 -0800, moritz wrote​:

$ perl6 --type=foo examples/dirstat.p6 > /dev/null
$
This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version
2017.01-31-g20dfa6b
implementing Perl 6.c.

Error messages should go to STDERR, so that pipes and redirects work as
expected in a Linux/UNIX environment.

Seems fixed by now; just needs a test.

Which I figured I may as well write. It's in S19-command-line/arguments.t.

@p6rt
Copy link
Author

p6rt commented Jul 14, 2017

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant