Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created October 29, 2012 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelog/3970808 to your computer and use it in GitHub Desktop.
Save marcelog/3970808 to your computer and use it in GitHub Desktop.
poor (very) man's ls in elixir
#!/usr/bin/env elixir
files = File.wildcard(hd(System.argv()) <> "/*")
Enum.each files, fn(x) -> IO.puts x end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment