Text Processing: Recursive search and replace: Difference between revisions
From WikiMLT
mNo edit summary |
m Стадий: 4 [Фаза:Авторизиране, Статус:Разработен]; Категория:Linux Server |
||
Line 11: | Line 11: | ||
{{devStage | {{devStage | ||
| Прндл = Linux Server | | Прндл = Linux Server | ||
| Стадий = | | Стадий = 4 | ||
| Фаза = | | Фаза = Авторизиране | ||
| Статус = | | Статус = Разработен | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = {{REVISIONUSER}} | | РзбПт = Spas | ||
| АвтПт = {{REVISIONUSER}} | |||
| ИдтДт = 4.08.2022 | | ИдтДт = 4.08.2022 | ||
| РзбДт = {{Today}} | | РзбДт = 4.08.2022 | ||
| АвтДт = {{Today}} | |||
| ИдтРв = [[Special:Permalink/29901|29901]] | | ИдтРв = [[Special:Permalink/29901|29901]] | ||
| РзбРв = {{REVISIONID}} | | РзбРв = [[Special:Permalink/29905|29905]] | ||
| АвтРв = {{REVISIONID}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 10:21, 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.