lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>   sh. find("/etc", {name="*rc", ctime="+30"}) .I. sort ().out

Stretching it even more:

  sh. find "/etc" { name = "*rc", ctime="+30" } .l. sort "-n" .out

(I've checked, empty braces before .out are not required by Lua
syntax, you may do f {} .bar freely)

Alexander.

P.S. Not arguing (yet) that this is perfect or even good — merely
exploring syntax posibilities.