Using awk grep sed: Difference between revisions
Jump to navigation
Jump to search
Created page with "Category:Computer_Technology Category:Linux" |
No edit summary |
||
Line 1: | Line 1: | ||
grep does not alter a file, it only finds matches while awk and sed are text processors. | |||
awk is mostly used for data extraction and reporting. sed is a stream editor | |||
Each one of them has its own functionality and specialties. | |||
== sed == | |||
Things that you can accomplish using RegEx within the Vi editor on text files can also be accomplished at the command line with sed. | |||
[[Category:Computer_Technology]] | [[Category:Computer_Technology]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 08:31, 14 January 2020
grep does not alter a file, it only finds matches while awk and sed are text processors.
awk is mostly used for data extraction and reporting. sed is a stream editor Each one of them has its own functionality and specialties.
sed
Things that you can accomplish using RegEx within the Vi editor on text files can also be accomplished at the command line with sed.