simple grep issue
by bruce
simple test file
cat gg.dat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42437 100 42437 0 0 590 0 0:01:11 0:01:11 --:--:-- 8789
100 41664 100 41664 0 0 140k 0 --:--:-- --:--:-- --:--:-- 2034k
100 34574 100 34574 0 0 133k 0 --:--:-- --:--:-- --:--:-- 133k
100 42430 100 42430 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k
100 42428 100 42428 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k
I simply want to test/check for the actual string --->>>:--- 0<<<
I've tested a number of different grep permutations.. missing something..
grep -i ":--- 0" gg.dat
doesn't work...
I'm not looking to match regex but find the actual string.
thoughts/comments
thanks
4 years, 12 months
build
by Patrick Dupre
I am supposed to do
(https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-addi...)
KERN_DIR=/usr/src/kernels/`uname -r`/build
but there is no build
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
4 years, 12 months
Touchscreen keyboard covering login window
by Lester M Petrie
Hi,
Sometime back I was experimenting with different themes for the login
screen in KDE and sddm. Something I did caused an image of a keyboard to
cover the login screen, and now I can't find out how to get rid of it. I
am presuming its some sort of touch screen element, although my screen
is a TV. I am running fully updated F28. I have tried re-installing all
the sddm packages and the login package, but nothing has changed. I have
deleted all the themes I was experimenting with, and that didn't help
either. I have looked at all the config files I can think of, and
nothing seems related. If any more information is needed, just ask. Any
suggestions would be very appreciated.
--
Lester M Petrie
4 years, 12 months
Re: simple grep issue
by bruce
On Mon, Sep 24, 2018 at 3:03 PM, Michael D. Setzer II
<msetzerii(a)gmail.com> wrote:
> I copy the text you have, and my grep line doesn't return those two lines
> since they don't contain the string ":-- 0" in them?
>
> which grep are you using?
> which grep returns path?
> grep --help returns version number?
>
>>>>>>>>>>>>>>>>>>>>>
Hi Michael,
the grpe/version
grep -V
grep (GNU grep) 2.20
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
>>>>>>>>>>>>>>>>>>>>>
> Not sure why it seems to be returning lines that don't contain the string that it
> is suppose to match.
>
>
> On 24 Sep 2018 at 14:36, bruce wrote:
>
> From: bruce <badouglas(a)gmail.com>
> Date sent: Mon, 24 Sep 2018 14:36:09 -0400
> Subject: Re: simple grep issue
> To: "Michael D. Setzer II" <msetzerii(a)gmail.com>
>
>> sorry...
>>
>> the issue is that the grep i posted returns a match of a couple of
>> strings.. i'm looking to treturn 0/none..
>>
>>
>> % Total % Received % Xferd Average Speed Time Time Time Current
>> Dload Upload Total Spent Left Speed
>> 100 48454 100 48454 0 0 1861 0 0:00:26 0:00:26 --:--:-- 12177
>> 100 38380 100 38380 0 0 97540 0 --:--:-- --:--:-- --:--:-- 97540
>> 100 51062 100 51062 0 0 99k 0 --:--:-- --:--:-- --:--:-- 2624k
>> 100 38380 100 38380 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k
>> 100 48118 100 48118 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k
>>
>> grep -e ":-- 0" /cloud_nfs/kk1.dat
>> 100 48454 100 48454 0 0 1861 0 0:00:26 0:00:26 --:--:-- 12177
>> 100 51062 100 51062 0 0 99k 0 --:--:-- --:--:-- --:--:-- 2624k
>>
>>
>>
>> On Mon, Sep 24, 2018 at 2:33 PM, Michael D. Setzer II
>> <msetzerii(a)gmail.com> wrote:
>> > The file doesn't have any :--- in it? So, what are you trying to match?
>> > All the : are followed by only two - not 3?
>> > Then none have 3 spaced and a zero.
>> >
>> >
>> > On 24 Sep 2018 at 13:56, bruce wrote:
>> >
>> > From: bruce <badouglas(a)gmail.com>
>> > Date sent: Mon, 24 Sep 2018 13:56:27 -0400
>> > Subject: simple grep issue
>> > To: Community support for Fedora users
>> > <users(a)lists.fedoraproject.org>
>> > Send reply to: Community support for Fedora users
>> > <users(a)lists.fedoraproject.org>
>> >
>> >> simple test file
>> >> cat gg.dat
>> >> % Total % Received % Xferd Average Speed Time Time Time Current
>> >> Dload Upload Total Spent Left Speed
>> >> 100 42437 100 42437 0 0 590 0 0:01:11 0:01:11 --:--:-- 8789
>> >> 100 41664 100 41664 0 0 140k 0 --:--:-- --:--:-- --:--:-- 2034k
>> >> 100 34574 100 34574 0 0 133k 0 --:--:-- --:--:-- --:--:-- 133k
>> >> 100 42430 100 42430 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k
>> >> 100 42428 100 42428 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k
>> >>
>> >> I simply want to test/check for the actual string --->>>:--- 0<<<
>> >>
>> >> I've tested a number of different grep permutations.. missing something..
>> >>
>> >> grep -i ":--- 0" gg.dat
>> >> doesn't work...
>> >>
>> >> I'm not looking to match regex but find the actual string.
>> >>
>> >> thoughts/comments
>> >>
>> >> thanks
>> >> _______________________________________________
>> >> users mailing list -- users(a)lists.fedoraproject.org
>> >> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
>> >> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
>> >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> >> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>> >
>> >
>> > +------------------------------------------------------------+
>> > Michael D. Setzer II - Computer Science Instructor (Retired)
>> > mailto:mikes@guam.net
>> > mailto:msetzerii@gmail.com
>> > Guam - Where America's Day Begins
>> > G4L Disk Imaging Project maintainer
>> > http://sourceforge.net/projects/g4l/
>> > +------------------------------------------------------------+
>> >
>> > http://setiathome.berkeley.edu (Original)
>> > Number of Seti Units Returned: 19,471
>> > Processing time: 32 years, 290 days, 12 hours, 58 minutes
>> > (Total Hours: 287,489)
>> >
>> > BOINC@HOME CREDITS
>> >
>> > ROSETTA 65857826.080195 | ABC 16613838.513356
>> > SETI 109554082.635528 | EINSTEIN 141443706.499240
>> >
>
>
> +------------------------------------------------------------+
> Michael D. Setzer II - Computer Science Instructor (Retired)
> mailto:mikes@guam.net
> mailto:msetzerii@gmail.com
> Guam - Where America's Day Begins
> G4L Disk Imaging Project maintainer
> http://sourceforge.net/projects/g4l/
> +------------------------------------------------------------+
>
> http://setiathome.berkeley.edu (Original)
> Number of Seti Units Returned: 19,471
> Processing time: 32 years, 290 days, 12 hours, 58 minutes
> (Total Hours: 287,489)
>
> BOINC@HOME CREDITS
>
> ROSETTA 65857826.080195 | ABC 16613838.513356
> SETI 109554082.635528 | EINSTEIN 141443706.499240
>
4 years, 12 months
Fedora + Electron Cash + Trezor
by Robin Lee
Hi
I've got a fully updated Fedora 28 with electron-cash-3.3.1-
1.fc28.noarch and a Trezor One hardware wallet. The problem is that I
just realized that I can't sign bitcoin cash transactions from my
Trezor. What I get when I try to sign is:
'NoneType' object has no attribute '_fill_missing'
What I was expecting was a confirmation request in Trezor
Anybody else got a Electron Cash and Trezor working together?
Is there any other software on Fedora I could use instead?
Cheers
Robin
4 years, 12 months