playground/script.jl

21 lines
344 B
Julia
Raw Permalink Normal View History

2024-10-28 10:06:06 -04:00
#!/usr/bin/env julia
println("Hello")
println(ARGS)
run(`ls`)
println(readdir("."; join=true))
cd(".") do
println("Hello")
end
for (root, dirs, files) in walkdir(".")
println("Directories in $root")
for dir in dirs
println(joinpath(root, dir))
end
println("Files in $root")
for file in files
println(joinpath(root, file))
end
end