@less does not work on stdlib?


#1
julia> using LinearAlgebra

julia> @less rank(rand(2,2))
/buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/generic.jl: Aucun fichier ou dossier de ce type
ERROR: failed process: Process(`less +742g /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/generic.jl`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
 [2] pipeline_error at ./process.jl:705 [inlined]
 [3] #run#503(::Bool, ::Function, ::Cmd) at ./process.jl:663
 [4] run at ./process.jl:661 [inlined]
 [5] less(::String, ::Int32) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/InteractiveUtils/src/editless.jl:108
 [6] less(::Function, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/InteractiveUtils/src/editless.jl:128
 [7] top-level scope at none:0

Is this expected?


#2

It’s a known issue. More details and suggested workarounds here: