Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

awk vs sed

This comparison card contrasts awk and sed. awk is described as columns and maths. sed is described as edit lines.

awk vs sed: Columns and maths.; Edit lines.
awk vs sed · Download PNG
Read card text

What this card says

Text

awk

Columns and maths.

sed

Edit lines.

Key points

Fields, sums, groups.

Substitute, delete, insert.

Example

awk -F, '{s+=$3}END{print s}'

Use when

Reports.

Config edits.

See all AWS revision cards