I like the "-" approach, it plays better with how we handle inputs. Could
you please open up an issue?



*José Valimwww.plataformatec.com.br
<http://www.plataformatec.com.br/>Founder and Director of R&D*

On Sun, Oct 15, 2017 at 9:58 PM, Norbert Melzer <[email protected]> wrote:

> On 10/15/2017 09:48 PM, [email protected] wrote:
> > Please let me know if I misread the docs and there is a way to do this.
> If
> > not, then adding a --stdin flag to Mix formatter task would address both
> > issues.
>
> I like the STDIN to STDOUT thing in general, since this allows piping,
> chaining and composing of various tools, and I'm not sure, why we would
> discourage a pattern which is common inside of the language, in the
> tools of the langauge.
>
> Instead of a special flag though, I'd prefer `-` as a filename, which is
> pretty common in linux. When used as a “filename” to read from, its
> meaning is “read from STDIN”, if though its used as a “filename” for the
> output its meaning is ”write to STDOUT”.
>
> Bye
>   Norbert
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/4f425e3f-8675-1c3c-9999-583074ee3004%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LKKJW1Ph1%2BCMJqh8XX%2B%2BAKwKdtsh0THTrkPjJoyQFrjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to