Use sed, grep, or awk without perl to replicate positive lookbehindWhat are the differences between Perl, Python, AWK and sed?How to do a recursive find/replace of a string with awk or sed?What is the difference between sed and awk?Insert a line at specific line number with sed or awkWhat are the differences among grep, awk & sed?Swap two columns - awk, sed, python, perlFormatting git log output with sed/awk/grepSubstituting words with sed awk or grepSed or Awk or Perl substitution in a sentenceGrep/Sed/Awk Options

N.B. ligature in Latex

Set up public ip on server

cryptic clue: mammal sounds like relative consumer (8)

Is it possible to make sharp wind that can cut stuff from afar?

Can you lasso down a wizard who is using the Levitate spell?

Why a const reference doesn't extend the life of temporary object passed via function?

Magento2: Product backend page error

Factorio analysis: data munging

LM317 - Calculate dissipation due voltage drop

Could a US political party gain complete control over the government by removing checks & balances?

Is there a minimum number of transactions in a block?

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

Can town administrative "code" overule state laws like those forbidding trespassing?

Is there a way I can return more than one integer from a method?

Is this food a bread or a loaf?

Is there really no realistic way for a skeleton monster to move around without magic?

Is there a familial term for apples and pears?

How to make payment on the internet without leaving a money trail?

Are white and non-white police officers equally likely to kill black suspects?

What does "enim et" mean?

My colleague's body is amazing

What Brexit solution does the DUP want?

I see my dog run

Why Is Death Allowed In the Matrix?



Use sed, grep, or awk without perl to replicate positive lookbehind


What are the differences between Perl, Python, AWK and sed?How to do a recursive find/replace of a string with awk or sed?What is the difference between sed and awk?Insert a line at specific line number with sed or awkWhat are the differences among grep, awk & sed?Swap two columns - awk, sed, python, perlFormatting git log output with sed/awk/grepSubstituting words with sed awk or grepSed or Awk or Perl substitution in a sentenceGrep/Sed/Awk Options






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








5















I need to extract RJ3fadfiasdUYBxF6z from:



 "user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false


regex with PCRP works great



(?<=authToken":")(w+)


How can I extract RJ3fadfiasdUYBxF6z using either awk, sed, or grep without positive lookbehind? I don't have perl support.

I'm doing this out of a bash script on an openwrt router.










share|improve this question
























  • That's JSON file format. Do you have any tool that can parse JSON?

    – zdim
    Mar 9 at 4:08












  • I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

    – stinkybummer
    Mar 9 at 4:09

















5















I need to extract RJ3fadfiasdUYBxF6z from:



 "user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false


regex with PCRP works great



(?<=authToken":")(w+)


How can I extract RJ3fadfiasdUYBxF6z using either awk, sed, or grep without positive lookbehind? I don't have perl support.

I'm doing this out of a bash script on an openwrt router.










share|improve this question
























  • That's JSON file format. Do you have any tool that can parse JSON?

    – zdim
    Mar 9 at 4:08












  • I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

    – stinkybummer
    Mar 9 at 4:09













5












5








5








I need to extract RJ3fadfiasdUYBxF6z from:



 "user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false


regex with PCRP works great



(?<=authToken":")(w+)


How can I extract RJ3fadfiasdUYBxF6z using either awk, sed, or grep without positive lookbehind? I don't have perl support.

I'm doing this out of a bash script on an openwrt router.










share|improve this question
















I need to extract RJ3fadfiasdUYBxF6z from:



 "user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false


regex with PCRP works great



(?<=authToken":")(w+)


How can I extract RJ3fadfiasdUYBxF6z using either awk, sed, or grep without positive lookbehind? I don't have perl support.

I'm doing this out of a bash script on an openwrt router.







json regex bash awk sed






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 9:16









Cyrus

47.2k43880




47.2k43880










asked Mar 9 at 4:05









stinkybummerstinkybummer

282




282












  • That's JSON file format. Do you have any tool that can parse JSON?

    – zdim
    Mar 9 at 4:08












  • I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

    – stinkybummer
    Mar 9 at 4:09

















  • That's JSON file format. Do you have any tool that can parse JSON?

    – zdim
    Mar 9 at 4:08












  • I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

    – stinkybummer
    Mar 9 at 4:09
















That's JSON file format. Do you have any tool that can parse JSON?

– zdim
Mar 9 at 4:08






That's JSON file format. Do you have any tool that can parse JSON?

– zdim
Mar 9 at 4:08














I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

– stinkybummer
Mar 9 at 4:09





I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.

– stinkybummer
Mar 9 at 4:09












5 Answers
5






active

oldest

votes


















4














You can use the following sed command:



sed 's/.*"authToken":"([^"]*)".*/1/' file





share|improve this answer






























    4














    It sounds like grep is fair game



    grep -Po '(?<=authToken":")(w+)' file



    Note: This needs an extra library, libpcre, for grep's native PCRE support.






    share|improve this answer

























    • Sorry, I don't have perl support, but thank you!

      – stinkybummer
      Mar 9 at 4:18











    • That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

      – zdim
      Mar 9 at 4:19







    • 1





      I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

      – zdim
      Mar 9 at 4:26






    • 1





      It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

      – stinkybummer
      Mar 9 at 4:35







    • 1





      I have pcregrep in my RHEL

      – stack0114106
      Mar 11 at 11:10



















    3














    May be you could install jq and use it?



    jq .user.authToken < a.json
    "RJ3fadfiasdUYBxF6z"





    share|improve this answer























    • To get rid of the quotation marks add option -r. < is not necessary.

      – Cyrus
      Mar 9 at 9:10



















    2














    Some linux flavours ships with pcregrep where you can use the lookarounds..



    Check this



    $ pcregrep -o '(?<=authToken":")(w+)' json.test 
    RJ3fadfiasdUYBxF6z
    $


    Here is the version in my RHEL.



    $ pcregrep --version
    pcregrep version 7.8 2008-09-05
    $





    share|improve this answer























    • Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

      – Tiw
      Mar 15 at 17:10


















    0














    An awk solution (tested under openwrt):



    awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
    RJ3fadfiasdUYBxF6z


    Or for more precisely matching, use equal ==:



    awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
    RJ3fadfiasdUYBxF6z


    $1==""authToken"" functionally equals to $1~/^"authToken"$/ but is a lit bit faster.






    share|improve this answer

























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073873%2fuse-sed-grep-or-awk-without-perl-to-replicate-positive-lookbehind%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      You can use the following sed command:



      sed 's/.*"authToken":"([^"]*)".*/1/' file





      share|improve this answer



























        4














        You can use the following sed command:



        sed 's/.*"authToken":"([^"]*)".*/1/' file





        share|improve this answer

























          4












          4








          4







          You can use the following sed command:



          sed 's/.*"authToken":"([^"]*)".*/1/' file





          share|improve this answer













          You can use the following sed command:



          sed 's/.*"authToken":"([^"]*)".*/1/' file






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 9 at 4:14









          blhsingblhsing

          42.6k41743




          42.6k41743























              4














              It sounds like grep is fair game



              grep -Po '(?<=authToken":")(w+)' file



              Note: This needs an extra library, libpcre, for grep's native PCRE support.






              share|improve this answer

























              • Sorry, I don't have perl support, but thank you!

                – stinkybummer
                Mar 9 at 4:18











              • That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

                – zdim
                Mar 9 at 4:19







              • 1





                I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

                – zdim
                Mar 9 at 4:26






              • 1





                It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

                – stinkybummer
                Mar 9 at 4:35







              • 1





                I have pcregrep in my RHEL

                – stack0114106
                Mar 11 at 11:10
















              4














              It sounds like grep is fair game



              grep -Po '(?<=authToken":")(w+)' file



              Note: This needs an extra library, libpcre, for grep's native PCRE support.






              share|improve this answer

























              • Sorry, I don't have perl support, but thank you!

                – stinkybummer
                Mar 9 at 4:18











              • That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

                – zdim
                Mar 9 at 4:19







              • 1





                I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

                – zdim
                Mar 9 at 4:26






              • 1





                It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

                – stinkybummer
                Mar 9 at 4:35







              • 1





                I have pcregrep in my RHEL

                – stack0114106
                Mar 11 at 11:10














              4












              4








              4







              It sounds like grep is fair game



              grep -Po '(?<=authToken":")(w+)' file



              Note: This needs an extra library, libpcre, for grep's native PCRE support.






              share|improve this answer















              It sounds like grep is fair game



              grep -Po '(?<=authToken":")(w+)' file



              Note: This needs an extra library, libpcre, for grep's native PCRE support.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Mar 11 at 7:14

























              answered Mar 9 at 4:14









              zdimzdim

              34.4k32443




              34.4k32443












              • Sorry, I don't have perl support, but thank you!

                – stinkybummer
                Mar 9 at 4:18











              • That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

                – zdim
                Mar 9 at 4:19







              • 1





                I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

                – zdim
                Mar 9 at 4:26






              • 1





                It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

                – stinkybummer
                Mar 9 at 4:35







              • 1





                I have pcregrep in my RHEL

                – stack0114106
                Mar 11 at 11:10


















              • Sorry, I don't have perl support, but thank you!

                – stinkybummer
                Mar 9 at 4:18











              • That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

                – zdim
                Mar 9 at 4:19







              • 1





                I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

                – zdim
                Mar 9 at 4:26






              • 1





                It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

                – stinkybummer
                Mar 9 at 4:35







              • 1





                I have pcregrep in my RHEL

                – stack0114106
                Mar 11 at 11:10

















              Sorry, I don't have perl support, but thank you!

              – stinkybummer
              Mar 9 at 4:18





              Sorry, I don't have perl support, but thank you!

              – stinkybummer
              Mar 9 at 4:18













              That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

              – zdim
              Mar 9 at 4:19






              That doesn't need Perl? It's PCRE support in grep ... (or does it use Perl?)

              – zdim
              Mar 9 at 4:19





              1




              1





              I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

              – zdim
              Mar 9 at 4:26





              I see. Then perhaps it does need Perl for it -- I thought grep has that support built in natively, without Perl, but I guess not.

              – zdim
              Mar 9 at 4:26




              1




              1





              It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

              – stinkybummer
              Mar 9 at 4:35






              It does not. It requires a special package for native PCRE support, libpcre -ash: pcregrep: not found

              – stinkybummer
              Mar 9 at 4:35





              1




              1





              I have pcregrep in my RHEL

              – stack0114106
              Mar 11 at 11:10






              I have pcregrep in my RHEL

              – stack0114106
              Mar 11 at 11:10












              3














              May be you could install jq and use it?



              jq .user.authToken < a.json
              "RJ3fadfiasdUYBxF6z"





              share|improve this answer























              • To get rid of the quotation marks add option -r. < is not necessary.

                – Cyrus
                Mar 9 at 9:10
















              3














              May be you could install jq and use it?



              jq .user.authToken < a.json
              "RJ3fadfiasdUYBxF6z"





              share|improve this answer























              • To get rid of the quotation marks add option -r. < is not necessary.

                – Cyrus
                Mar 9 at 9:10














              3












              3








              3







              May be you could install jq and use it?



              jq .user.authToken < a.json
              "RJ3fadfiasdUYBxF6z"





              share|improve this answer













              May be you could install jq and use it?



              jq .user.authToken < a.json
              "RJ3fadfiasdUYBxF6z"






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 9 at 4:25









              Fedor DikarevFedor Dikarev

              33229




              33229












              • To get rid of the quotation marks add option -r. < is not necessary.

                – Cyrus
                Mar 9 at 9:10


















              • To get rid of the quotation marks add option -r. < is not necessary.

                – Cyrus
                Mar 9 at 9:10

















              To get rid of the quotation marks add option -r. < is not necessary.

              – Cyrus
              Mar 9 at 9:10






              To get rid of the quotation marks add option -r. < is not necessary.

              – Cyrus
              Mar 9 at 9:10












              2














              Some linux flavours ships with pcregrep where you can use the lookarounds..



              Check this



              $ pcregrep -o '(?<=authToken":")(w+)' json.test 
              RJ3fadfiasdUYBxF6z
              $


              Here is the version in my RHEL.



              $ pcregrep --version
              pcregrep version 7.8 2008-09-05
              $





              share|improve this answer























              • Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

                – Tiw
                Mar 15 at 17:10















              2














              Some linux flavours ships with pcregrep where you can use the lookarounds..



              Check this



              $ pcregrep -o '(?<=authToken":")(w+)' json.test 
              RJ3fadfiasdUYBxF6z
              $


              Here is the version in my RHEL.



              $ pcregrep --version
              pcregrep version 7.8 2008-09-05
              $





              share|improve this answer























              • Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

                – Tiw
                Mar 15 at 17:10













              2












              2








              2







              Some linux flavours ships with pcregrep where you can use the lookarounds..



              Check this



              $ pcregrep -o '(?<=authToken":")(w+)' json.test 
              RJ3fadfiasdUYBxF6z
              $


              Here is the version in my RHEL.



              $ pcregrep --version
              pcregrep version 7.8 2008-09-05
              $





              share|improve this answer













              Some linux flavours ships with pcregrep where you can use the lookarounds..



              Check this



              $ pcregrep -o '(?<=authToken":")(w+)' json.test 
              RJ3fadfiasdUYBxF6z
              $


              Here is the version in my RHEL.



              $ pcregrep --version
              pcregrep version 7.8 2008-09-05
              $






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 11 at 11:09









              stack0114106stack0114106

              4,9832423




              4,9832423












              • Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

                – Tiw
                Mar 15 at 17:10

















              • Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

                – Tiw
                Mar 15 at 17:10
















              Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

              – Tiw
              Mar 15 at 17:10





              Actually we talked about pcregrep in comments and turns out openwrt doesn't shipped with it, however pcregrep is a good choice when it is supported :)

              – Tiw
              Mar 15 at 17:10











              0














              An awk solution (tested under openwrt):



              awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
              RJ3fadfiasdUYBxF6z


              Or for more precisely matching, use equal ==:



              awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
              RJ3fadfiasdUYBxF6z


              $1==""authToken"" functionally equals to $1~/^"authToken"$/ but is a lit bit faster.






              share|improve this answer





























                0














                An awk solution (tested under openwrt):



                awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
                RJ3fadfiasdUYBxF6z


                Or for more precisely matching, use equal ==:



                awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
                RJ3fadfiasdUYBxF6z


                $1==""authToken"" functionally equals to $1~/^"authToken"$/ but is a lit bit faster.






                share|improve this answer



























                  0












                  0








                  0







                  An awk solution (tested under openwrt):



                  awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
                  RJ3fadfiasdUYBxF6z


                  Or for more precisely matching, use equal ==:



                  awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
                  RJ3fadfiasdUYBxF6z


                  $1==""authToken"" functionally equals to $1~/^"authToken"$/ but is a lit bit faster.






                  share|improve this answer















                  An awk solution (tested under openwrt):



                  awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
                  RJ3fadfiasdUYBxF6z


                  Or for more precisely matching, use equal ==:



                  awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
                  RJ3fadfiasdUYBxF6z


                  $1==""authToken"" functionally equals to $1~/^"authToken"$/ but is a lit bit faster.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 9 at 15:02

























                  answered Mar 9 at 4:18









                  TiwTiw

                  4,39761730




                  4,39761730



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073873%2fuse-sed-grep-or-awk-without-perl-to-replicate-positive-lookbehind%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                      2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                      Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme