From 8771f59ff3fb0b7a75f21f6037600ac0c229bd4c Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Fri, 6 Mar 2015 11:22:12 -0800 Subject: [PATCH 1/2] Fix #262 --- docs/pub/doc/arvo/util.md | 6 +++--- main/app/into/core.hook | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/pub/doc/arvo/util.md b/docs/pub/doc/arvo/util.md index 0546bf1fa..0ee75bb1c 100644 --- a/docs/pub/doc/arvo/util.md +++ b/docs/pub/doc/arvo/util.md @@ -42,8 +42,8 @@ Copy a file to a given location. `~zod/try=> :grep 'literal'` -"grep" a file or standard input. Currently only supports literals, but -will eventuall support regular expressions. +"grep" a file or standard input. Currently only supports a literal cord, +but will eventuall support regular expressions. ------------------------------------------------------------------------ @@ -61,7 +61,7 @@ in the process. Often used to ping ships to check connectivity. `~zod/try=> :into /path/to/file 'contents'` Write text to a file. If the specified file does not exist, create a -file by that name. +file by that name. If it does exist, replace its contents. ------------------------------------------------------------------------ diff --git a/main/app/into/core.hook b/main/app/into/core.hook index 25f92812d..f7f93a6f2 100644 --- a/main/app/into/core.hook +++ b/main/app/into/core.hook @@ -1,3 +1,4 @@ +:: Over/write to location, usage :into %/foo/txt 'Contents' !: :::: :: From ceb3c30a4521d74aea681e24eda03669d608c954 Mon Sep 17 00:00:00 2001 From: Philip C Monk Date: Tue, 10 Mar 2015 15:06:41 -0400 Subject: [PATCH 2/2] add fake network acceleration --- arvo/ames.hoon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arvo/ames.hoon b/arvo/ames.hoon index 62d6de61b..8e8fc0a7c 100644 --- a/arvo/ames.hoon +++ b/arvo/ames.hoon @@ -631,12 +631,12 @@ =^ gim ..weft wisp :_ +>.$ ^- (list rock) - =+ wit=(met 13 q.gim) + =+ wit=(met ?:(fak.ton 18 13) q.gim) ?< =(0 wit) ?: =(1 wit) =+ yup=(spit [our her] p.gim q.gim) [yup ~] - =+ ruv=(rip 13 q.gim) + =+ ruv=(rip ?:(fak.ton 18 13) q.gim) =+ gom=(shaf %thug q.gim) =+ inx=0 |- ^- (list rock) @@ -1409,7 +1409,7 @@ =+ [nix=0 rax=*(list ,@)] |- ^- @ ?: =(p.duv nix) - (can 13 (turn (flop rax) |=(a=@ [1 a]))) + (can ?:(fak.ton.fox 18 13) (turn (flop rax) |=(a=@ [1 a]))) $(nix +(nix), rax [(need (~(get by q.duv) nix)) rax]) -- :: --la:ho:um:am ::