scripts
This commit is contained in:
parent
a044319056
commit
e372def47a
20
script.jl
Executable file
20
script.jl
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
||||
Loading…
Reference in New Issue
Block a user