Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2d1e19faf7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.382 kb
#!/usr/bin/lua
-- Pierre Chapuis <catwell at archlinux dot us>
-- Released under the WTFPL (http://sam.zoy.org/wtfpl/COPYING).
local filters = {}
local f = false
for _,a in ipairs(arg) do
if a=="-" then f = true
elseif f then
local g = true
for _,b in ipairs(filters) do
g = g and a~=b
end
if g then print(a) end
else table.insert(filters, a) end
end
Jump to Line
Something went wrong with that request. Please try again.