Skip to content

Failed to expand ~ and * in REPL when using semicolon #4359

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

Closed
lindahua opened this issue Sep 24, 2013 · 2 comments
Closed

Failed to expand ~ and * in REPL when using semicolon #4359

lindahua opened this issue Sep 24, 2013 · 2 comments
Labels
REPL Julia's REPL (Read Eval Print Loop)
Milestone

Comments

@lindahua
Copy link
Contributor

Here is what I get:

julia> ;ls /Users/dhlin/.julia
BinDeps           DataStructures    IJulia            NumericExtensions REQUIRE
CUDA              Devectorize       JSON              Optim             Regression
Cairo             Distance          METADATA          Options           Stats
Calculus          Distributions     MLBase            PyCall            URIParser
Clustering        Graphs            MixtureModels     PyPlot            ZMQ
Color             Homebrew          Nettle            REPLCompletions

julia> ;ls ~/.julia
ls: ~/.julia: No such file or directory
ERROR: failed process: Process(`ls ~/.julia`, ProcessExited(1)) [1]
 in error at error.jl:22
 in pipeline_error at process.jl:447
 in run at process.jl:424
 in repl_cmd at client.jl:60

Clearly, it failed to expand ~ to my home directory, while this works fine in a real bash shell.

It also failed to expand *, as

julia> ;ls julia
CONTRIBUTING.md   Makefile          VERSION           deps              src
LICENSE.md        NEWS.md           Windows.inc       doc               test
Make.inc          README.md         base              examples          ui
Make.user         README.windows.md contrib           julia             usr

julia> ;ls j*
ls: j*: No such file or directory
ERROR: failed process: Process(`ls j*`, ProcessExited(1)) [1]
 in error at error.jl:22
 in pipeline_error at process.jl:447
 in run at process.jl:424
 in repl_cmd at client.jl:60
@ivarne
Copy link
Member

ivarne commented Sep 24, 2013

Seems related to #1136

@JeffBezanson
Copy link
Member

fixed by 37ae1e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

3 participants