Skip to content

Consider translating top-level echo as print/println #6

Description

@dundalek

Printing with echo:

echo -n foo
echo bar

Gets translated as (which works correctly):

(shell "echo" "-n" "foo")
(shell "echo" "bar")

We could make the output for top-level echos (that are not part of a pipeline) a bit nicer and idiomatic if we translate them as:

(print "foo")
(println "bar")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions