Skip to content

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

@dundalek

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")

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