Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 13 lines 503 B view raw
1diff --git a/repl.k b/repl.k 2index 4c023467..10414162 100755 3--- a/repl.k 4+++ b/repl.k 5@@ -2,7 +2,7 @@ 6 `1:"ngn/k, (c) 2019-2022 ngn, GNU AGPLv3. type \\ for more info\n" 7 \d repl 8 `1:prompt:," " /use 0x0720 for emacs integration 9-cmds:(,"a")!{`1:1:joinpath[dirname`argv 0]"LICENSE";} 10+cmds:(,"a")!{`1:1:joinpath[dirname`argv 0]"../share/ngn-k/LICENSE";} 11 dirname:{$[#x:"/"/-1_"/"\x;x;,"."]} 12 joinpath:{$[x~,".";y;"/"~*|x;x,y;x,"/",y]} 13 fmt:{$[x~(::);"";(`A~@x)&1<#x;"(",("\n "/`k'x),")\n";`k[x],"\n"]}