Linux Command Line (43) awk pt1

preview_player
Показать описание
Link to downloads for this video:

awk is a programming language, not as complete as Perl or C, but it is a programming language.

A typical awk script will start with awk then have a condition, code, then an input file filename.

awk has some built in variables like NF for Number of Fields and NR for number of Records. These variables can be used as a condition for what rows to update or select.

awk can be used to do the same things as grep

By default, awk identifies fields separated by white-space. An input file delimiter can giving to separate fields by something other than white-space. To set fields by specific columns those columns will need to be defined int he variable FIELDWIDTHS.

Website link:
Рекомендации по теме
Комментарии
Автор

This series and this YouTube channel at large is grossly underrated. You deserve all the subs and views in the world, friend. Thanks a bunch for this series and your work on the matter in general.

gmeister
Автор

I have to whole heatedly agree. Every time I view one of these, I learn something new....and I've been doing linux/unix since the beginning!

patmower
Автор

A very awesome tutorial keep up the great work, as I’ve just started to learn awk this is a great start for me thank you very much

nightwolf
Автор

Thank you for taking the time to create this tutorial.

AtlantaTerry
Автор

Would love to see the man pages of this command explained as well as your videos! Thank you

GooogleGoglee