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

Pipe character in run function #1

Open
alexbyrnes opened this issue Aug 20, 2014 · 2 comments
Open

Pipe character in run function #1

alexbyrnes opened this issue Aug 20, 2014 · 2 comments

Comments

@alexbyrnes
Copy link

Line 46 gives:

"ERROR: | has no method matching |(::Cmd, ::Cmd)"

Should be:

run(`cal` |> `grep Sa`)

(http://julia.readthedocs.org/en/latest/manual/running-external-programs/#pipelines)

@IainNZ
Copy link

IainNZ commented Aug 20, 2014

Yes indeed. These tutorials are dangerously old, I wonder what else is lying in wait...

@alexbyrnes
Copy link
Author

A*w should be A.*w I believe.

Handy page anyway, thanks.

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

2 participants