Re: I need grep . help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/9/24 7:32 PM, Jon LaBadie wrote:
On Mon, Sep 09, 2024 at 01:34:55PM -0600, home user via users wrote:
On 9/9/24 11:35 AM, Samuel Sieb wrote:
On 9/9/24 9:55 AM, home user via users wrote:
On 9/8/24 8:36 PM, ToddAndMargo via users wrote:
On 9/8/24 18:51, home user via users wrote:

Are you looking for "9.4.4" or "9.4.5"?

Aw poop!  yes 9.4.4

Still can't get it to work though
Now I don't understand!

In "grep" with no command line options (or at least no "-F" option) and no escapes in the search string, which is it:  In the search string,
1. '.' matches any one character, or
2. '.' matches any one character except '.'?
I thought it was #1.

It is.

I would have thought that grep (and grep -i) would have produced at least one match once Todd corrected the typo in the search string. But he reported that he still couldn't get it to work.  The "-F" option should not have been needed, right?

Yes, it does work with just '9.4.4' as well.


ok.  Thank-you, Samuel.

A true but incomplete answer.  Just because some RE gets you the data you want in one example dataset does not mean it was the correct RE.

You seem to be missing the context. I gave the exact answer a long time ago. The question here was about why this option didn't work at all. And the answer is that the OP used the wrong number. This option would have given a result instead of nothing.

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux