This commit is contained in:
Rick Sprague 2024-10-28 10:06:06 -04:00
parent a044319056
commit e372def47a
2 changed files with 23 additions and 0 deletions

20
script.jl Executable file
View 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

3
script.py Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env python3
print("Hello")