diff options
Diffstat (limited to 'challenge-028/stuart-little/lua/ch-1.lua')
| -rwxr-xr-x | challenge-028/stuart-little/lua/ch-1.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/challenge-028/stuart-little/lua/ch-1.lua b/challenge-028/stuart-little/lua/ch-1.lua new file mode 100755 index 0000000000..1bded6c1e5 --- /dev/null +++ b/challenge-028/stuart-little/lua/ch-1.lua @@ -0,0 +1,5 @@ +#!/usr/bin/env lua + +-- run <script> <path> + +print(io.popen("file -L "..arg[1]):read("a"):match("text") and "text file" or "not a text file") |
