chiark / gitweb /
07a: extract only regular files
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 7 May 2024 12:41:01 +0000 (13:41 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 7 May 2024 12:41:01 +0000 (13:41 +0100)
07/07a.bqn

index 025e2cf3a7c95807d4c838d3ee45fcc7aee532af..a22a0e41aa811bd2b66f272489819b3a5922817a 100644 (file)
@@ -24,6 +24,7 @@ FS←{𝕤
 Main←{
   dev←FS @
   files←∾{(1↓𝕩)dev.Cmd(⊑𝕩)}¨𝕩
+  files↩({"dir"≢⊑𝕩}˘files)/files
 }
 
 •Show Main Prep •file.Lines ⊑•args