Re: vi golf: command on a motion?

2022-01-12 Thread Tilo Stritzky
On 03/09/21 11:48 Marc Chantreux wrote: > hello people, > > Does anyone know how to get this done even faster: > > ma > } > :'a,ms/foo/bar .,/^$/s/foo/bar > even if it's short, I really would like to have > something which work the way I abuse the ! command in vim: > > !} > >

Re: Unable to decrypt a file with LibreSSL

2022-01-12 Thread Crystal Kolipe
On Wed, Jan 12, 2022 at 08:56:19PM +, Ricky Cintron wrote: > As the subject reads, I am suddenly unable to decrypt a file that I encrypted > with LibreSSL. When I try, I get the following message: > > bad decrypt > 11957684617984:error:06FFF064:digital envelope routines:CRYPTO_internal: \ >

[PATCH v2 3/3] script(1): fix exit status wording, use 125 for general failure

2022-01-12 Thread наб
This is a base-line attempt at separating errors from the child from the ones from script itself ‒ 125 is the general-purpose code in POSIX utilities that exec() (with 126 being ENOEXEC and 127 ‒ ENOENT) --- Please keep me in CC, as I'm not subscribed. usr.bin/script/script.1 | 6 ++

[PATCH v2 2/3] script(1): simplify shell execution

2022-01-12 Thread наб
Use execl in both paths and the same warn() call --- Please keep me in CC, as I'm not subscribed. usr.bin/script/script.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 763975d6a..fd2829033 100644 ---

[PATCH v2 1/3] script(1): actually bubble child errors

2022-01-12 Thread наб
script.1 says > script will exit with the status of 0 unless any of its child > processes fail, in which case, script will return 1. This is a patent lie: it only exits with 1 if the host or writer processes fail, not the actual child Instead, wait for the child in the writer process and bubble

Problem with some pf table defined outside of an anchor

2022-01-12 Thread Carlos Lopez
Hi all, I have a strange issue when I use a pf table inside an anchor. Error returned is: pfctl: warning: table already defined in anchor "pub-network/_2” Table is defined in global pf.conf file. In pf.conf I have defined some anchors by interface, like this: # Group of rules for public