Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.os.unix.linux.misc > #114555

Re: Shell: regex in grep

From Helmut Waitzmann <nn.throttle@xoxy.net>
Newsgroups de.comp.os.unix.linux.misc
Subject Re: Shell: regex in grep
Date 2021-02-01 20:43 +0100
Organization Aioe.org NNTP Server
Message-ID <83k0rr4lrv.fsf@helmutwaitzmann.news.arcor.de> (permalink)
References (1 earlier) <i7jekkF9bbiU2@mid.individual.net> <i7l50tFja5hU1@mid.individual.net> <i7ld8tFkovpU1@mid.individual.net> <1t60158016i7c47n3e8%sfroehli@Froehlich.Priv.at> <i7q55qFij2sU1@mid.individual.net>

Show all headers | View raw


Ralph Stahl <post@rstahl.de>:
>Am 30.01.21 um 16:50 schrieb Stefan Froehlich:

>> pcrepattern(3) meint dazu: 
>>
>>
>> | If a minus character is required in a class, it must be escaped
>> | with a backslash or appear in a position where it cannot be
>> | interpreted as indicating a range, typically as the first or
>> | last character in the class, or immediately after a range.

>Danach ist es also egal, ob [-+] oder [+-]? 
>

Ja.  Das ist bei PCRE (siehe oben) wie auch bei POSIX basic und 
extended RE der Fall. 

>Es steht allein vorn oder hinten und kann nicht [nichts bis +] oder 
>[+ bis nichts] bedeuten.

Genau.

Back to de.comp.os.unix.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-01-29 15:18 +0100
  Re: Shell: regex in grep Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2021-01-29 14:48 +0000
  Re: Shell: regex in grep Tim Landscheidt <tim@tim-landscheidt.de> - 2021-01-29 15:28 +0000
    Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-01-30 14:07 +0100
      Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-01-30 18:48 +0100
        Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-02-01 11:43 +0100
  Re: Shell: regex in grep Claus Reibenstein <creibens@gmail.com> - 2021-01-29 22:56 +0100
    Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-01-30 14:24 +0100
      Re: Shell: regex in grep Claus Reibenstein <creibens@gmail.com> - 2021-01-30 16:45 +0100
        Re: Shell: regex in grep Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2021-01-30 15:50 +0000
          Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-02-01 11:58 +0100
            Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-02-01 20:43 +0100
        Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-01-30 18:54 +0100
          Re: Shell: regex in grep Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de> - 2021-01-30 20:52 +0100
            Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-01-30 23:02 +0100
            Re: Shell: regex in grep Claus Reibenstein <creibens@gmail.com> - 2021-01-31 14:06 +0100
              Re: Shell: regex in grep Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2021-01-31 14:24 +0000
                Re: Shell: regex in grep Eike Rathke <erack+nutznetz.p@posteo.de> - 2021-01-31 15:01 +0000
                Re: Shell: regex in grep Eike Rathke <erack+nutznetz.p@posteo.de> - 2021-01-31 15:14 +0000
                Re: Shell: regex in grep Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2021-01-31 16:21 +0000
                Re: Shell: regex in grep Eike Rathke <erack+nutznetz.p@posteo.de> - 2021-02-01 11:41 +0000
                Re: Shell: regex in grep Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2021-02-01 13:18 +0000
                Re: Shell: regex in grep Michael Uplawski <michael.uplawski@uplawski.eu> - 2021-02-02 07:16 +0100
                Re: Shell: regex in grep Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2021-02-02 08:00 +0000
                Re: Shell: regex in grep Andreas Karrer <ak-0a@gmx.ch> - 2021-02-02 18:58 +0000
                Re: Shell: regex in grep Michael Uplawski <michael.uplawski@uplawski.eu> - 2021-02-04 09:10 +0100
                Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-02-04 13:44 +0100
              Re: Shell: regex in grep Eike Rathke <erack+nutznetz.p@posteo.de> - 2021-01-31 15:00 +0000
              Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-01-31 23:03 +0100
                Re: Shell: regex in grep Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de> - 2021-02-01 20:15 +0100
                Re: Shell: regex in grep Helmut Waitzmann <nn.throttle@xoxy.net> - 2021-02-02 01:46 +0100
                Re: Shell: regex in grep Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de> - 2021-02-02 20:50 +0100
  Re: Shell: regex in grep Andreas Karrer <ak-0a@gmx.ch> - 2021-01-29 23:10 +0000
    Re: Shell: regex in grep Ralph Stahl <post@rstahl.de> - 2021-01-30 13:58 +0100

csiph-web