2015-01-10 02:21:28 +03:00
|
|
|
// /%%%/ls/subdir
|
2015-01-10 05:21:25 +03:00
|
|
|
// /===lib/sh-utils
|
2014-09-25 04:37:29 +04:00
|
|
|
!:
|
|
|
|
|_ [hid=hide ~]
|
2015-01-10 05:21:25 +03:00
|
|
|
++ peer ,_`.
|
2014-09-25 04:37:29 +04:00
|
|
|
++ poke-cat-args
|
2015-01-10 04:28:17 +03:00
|
|
|
%+ args-into-gate .
|
|
|
|
|= [arg=(list path)]
|
|
|
|
=- tang/(flop `(list tank)`(zing -))
|
|
|
|
%+ turn arg
|
|
|
|
|= pax=path
|
|
|
|
^- (list tank)
|
|
|
|
=+ ark=;;(arch .^(%cy pax))
|
|
|
|
?^ q.ark
|
|
|
|
:- leaf/(spud pax)
|
|
|
|
%+ turn (lore ;;(@t .^(%cx pax)))
|
|
|
|
|=(a=cord leaf/(trip a))
|
|
|
|
?- r.ark :: handle ambiguity
|
|
|
|
~
|
|
|
|
[rose/[" " `~]^~[leaf/"~" (smyt pax)]]~
|
|
|
|
[[@t ~] ~ ~]
|
|
|
|
$(pax (welp pax /[p.n.r.ark]))
|
|
|
|
*
|
|
|
|
=- [palm/[": " ``~]^-]~
|
|
|
|
:~ rose/[" " `~]^~[leaf/"*" (smyt pax)]
|
|
|
|
`tank`(subdir pax r.ark)
|
|
|
|
==
|
|
|
|
==
|
2014-09-25 04:37:29 +04:00
|
|
|
--
|