aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-06 12:53:17 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-06 12:53:17 -0400
commit85e948b432aa26dea5b20ff9998aaef5b2ee7f69 (patch)
treed295807fd327f7c4b4f39098f7eb81a34d82d63c /spec
parent69f0a05edb7bda9213ce81bbec439a24a95589db (diff)
Use file arguments in dzref
Diffstat (limited to 'spec')
-rwxr-xr-xspec/dzref7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/dzref b/spec/dzref
index 11106297..26c3e039 100755
--- a/spec/dzref
+++ b/spec/dzref
@@ -218,6 +218,7 @@ ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩}
⊒ ← OccurrenceCount⊘ ProgressiveIndexOf
"
+X←Raw←{≤4}
{
chrs←⟨
"!∧∨∾↑↕⌽⍉⍋⍒⊐⊒∊⍷⊔"
@@ -267,5 +268,9 @@ ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩}
lf ← •UCS 10
pre ← E_isdef◶E_proc‿E_redef¨ lf((⊢-˜¬×+`)∘=⊔⊢)impl
- ⍎ ∾ ∾⟜lf¨ pre ∾ E_proc¨ •STDIN⟨⟩
+ Raw↩⍎
+ ExecFile←{Raw ∾ ∾⟜lf¨ E_proc¨ •LNS 𝕩}
+ X↩Raw∘E_proc
+ ⍎ ∾ ∾⟜lf¨ pre
+ ≠◶X‿{ExecFile ⊑𝕩}‿{ExecFile ⊑𝕩 ⋄ X 1⊑𝕩} •args
}0