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 '/foo/,/bar/!d;/bar/q' file
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 one
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
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 unam
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; }
( selecti
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/'
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:ht
7 matches
Mail list logo