2 нояб. 2014 г. · First, since sed uses basic regular expressions, you need \( and \) to make a capture group. The -r switch enables extended regular expressions ... |
17 февр. 2021 г. · Select the line with the slash character '/' # replace the first '-' for other char not possible to be in the string, example '@' # replace all '-' for spaces |
7 июн. 2013 г. · I need to make a script that changes the "name" in the first line to "something", the "password" on the second line to "somethingelse", and the "name" in the ... |
7 мая 2020 г. · Replace several regex groups with sed ... So, as you can see, it is adding the blank space after the last occurrence, but not after the first one. |
6 авг. 2018 г. · This loop loops over all logfiles that have a similar filename format. The loop will iterate over the pathnames in lexicographical order. It is ... |
12 мар. 2021 г. · I'm trying to use sed to replace the output of a command with regexp but can't figure it out the problem. I tested the regex in regex101.com and it seems fine. |
5 нояб. 2015 г. · This substitute command captures as group 1 everything between two curly braces. The whole line is replaced with group 1, denoted \1. |
19 нояб. 2015 г. · sed can't call commands in the replacement part, but it can run several substitutions. Just putting all the substitutions to one sed seems to work in this case. |
16 февр. 2016 г. · I have a string of the format [0-9]+\.[0-9]+\.[0-9] . I need to extract the first, second, and third numbers separately. As I understand it, ... |
28 апр. 2020 г. · A collection of files that need to be searched recursively with a regex, and replaced. What I have so far works without capture groups, however it does nothing ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |