2015-05-28 05:46:58 +03:00
|
|
|
:: ConCATenate file listings
|
|
|
|
::
|
2015-06-05 03:27:01 +03:00
|
|
|
:::: /hoon/cat/cat
|
2015-05-28 05:46:58 +03:00
|
|
|
::
|
2015-06-05 01:16:48 +03:00
|
|
|
// /%%/ls/subdir
|
|
|
|
// /%/pretty
|
2015-05-28 05:46:58 +03:00
|
|
|
!:
|
|
|
|
::::
|
|
|
|
::
|
|
|
|
|= [^ [arg=(list path)] ~]
|
2015-06-17 00:36:04 +03:00
|
|
|
=- tang/(flop (zing -))
|
2015-05-28 05:46:58 +03:00
|
|
|
%+ turn arg
|
|
|
|
|= pax=path
|
|
|
|
^- tang
|
|
|
|
=+ ark=;;(arch .^(%cy pax))
|
|
|
|
?^ q.ark
|
|
|
|
[leaf/(spud pax) (pretty-file .^(%cx pax))]
|
|
|
|
?- 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)
|
|
|
|
==
|
|
|
|
==
|