Re: [gentoo-user] OT awk question

2018-01-16 Thread Alexander Kapshuk
On Wed, Jan 17, 2018 at 3:49 AM, Adam Carter wrote: > I'm using this to grab a section of text across multiple lines, how do i get > it to exit after the first match? > > awk '/foo/,/bar/' See if this works for you: awk '/foo/,/bar/{print;if(/bar/)exit}' file sed

Re: [gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry

2018-01-16 Thread Alexander Ben Nasrallah
On Tue, Jan 16, 2018 at 10:51:40PM -0700, the...@sys-concept.com wrote: > When I try to decrypt a file I get: > > gpg2 text.asc > ... > gpg: public key decryption failed: No pinentry > gpg: decryption failed: No secret key > > app-crypt/pinentry-1.0.0-r2 is installed Sometime you have to set

[gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry

2018-01-16 Thread thelma
When I try to decrypt a file I get: gpg2 text.asc ... gpg: public key decryption failed: No pinentry gpg: decryption failed: No secret key app-crypt/pinentry-1.0.0-r2 is installed I've tried to kill "gpg-agent" didn't help. -- Joseph

[gentoo-user] Libreoffice-5.4.2.2 fails to start

2018-01-16 Thread thelma
When I try to start "libreoffice" it will not start, not even from command line. No errors, nothing. Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64) = System

[gentoo-user] Re: OT awk question

2018-01-16 Thread Ian Zimmerman
On 2018-01-17 12:49, Adam Carter wrote: > I'm using this to grab a section of text across multiple lines, how do > i get it to exit after the first match? > > awk '/foo/,/bar/' I don't think I ever tried to match multiple line range. I would do it like this: /foo/ { selecting = 1; } (

[gentoo-user] OT awk question

2018-01-16 Thread Adam Carter
I'm using this to grab a section of text across multiple lines, how do i get it to exit after the first match? awk '/foo/,/bar/'

Re: [gentoo-user] Replex replacement

2018-01-16 Thread Neil Bothwick
On Tue, 16 Jan 2018 05:34:33 +0100, tu...@posteo.de wrote: > is there any replacement available for > solfire:/root>eix replex > > media-video/replex > Available versions: [M]0.1.4 [M](~)0.1.6.8 > Installed versions: 0.1.6.8(08:48:31 PM 12/04/2017) > Homepage: