Text Processing: Recursive search and replace: Difference between revisions
From WikiMLT
m Стадий: 4 [Фаза:Авторизиране, Статус:Разработен]; Категория:Linux Server |
m Стадий: 3 [Фаза:Разработване, Статус:Разавторизиран]; Категория:Linux Server |
||
Line 11: | Line 11: | ||
{{devStage | {{devStage | ||
| Прндл = Linux Server | | Прндл = Linux Server | ||
| Стадий = | | Стадий = 3 | ||
| Фаза = | | Фаза = Разработване | ||
| Статус = | | Статус = Разавторизиран | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = | | РзбПт = {{REVISIONUSER}} | ||
| АвтПт = | | АвтПт = Spas | ||
| ИдтДт = 4.08.2022 | | ИдтДт = 4.08.2022 | ||
| РзбДт = | | РзбДт = {{Today}} | ||
| АвтДт = | | АвтДт = 4.08.2022 | ||
| ИдтРв = [[Special:Permalink/29901|29901]] | | ИдтРв = [[Special:Permalink/29901|29901]] | ||
| РзбРв = [[Special:Permalink/ | | РзбРв = {{REVISIONID}} | ||
| АвтРв = | |||
| РзАРв = [[Special:Permalink/29906|29906]] | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 10:22, 4 August 2022
grep -rni 'string or regexp' *
Where:
*
– will match to all files and directories (which doesn't start with.
, alternatively you may need to use./
to match everything within the current directory;-r
,–recursive
– in this case works together with*
(or./
);-n
– output the line number where the match is found,-i
,–ignore-case
– do case insensitive match.