Grep: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: == Grep exceptions from file == grep -vf exclude.txt file.txt {{Template:Distributions}} Category:Scripts) |
|||
2 eilutė: | 2 eilutė: | ||
== Grep exceptions from file == | == Grep exceptions from file == | ||
grep -vf exclude.txt file.txt | grep -vf exclude.txt file.txt | ||
+ | |||
+ | === Jeigu didesnis failas ir pasibaigia ramas === | ||
+ | |||
+ | comm -23 exclude.txt file.txt > file_clean.txt | ||
{{Template:Distributions}} | {{Template:Distributions}} | ||
[[Category:Scripts]] | [[Category:Scripts]] |
13:21, 18 liepos 2019 versija
Grep exceptions from file
grep -vf exclude.txt file.txt
Jeigu didesnis failas ir pasibaigia ramas
comm -23 exclude.txt file.txt > file_clean.txt