Тёмный

Techniques with AWK 

Debra McCusker
Подписаться 1,1 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@wargone540
@wargone540 Год назад
Thanks ! Your course is very well !
@kinmaont
@kinmaont 2 года назад
Wonderful examples. Thank you
@Weslleymberg
@Weslleymberg 3 года назад
Thank you! This is a very good talk on AWK.
@laarags
@laarags 2 года назад
Thanks for sharing. Good stuff 👍
@95omega
@95omega Год назад
Thank you for your video Debra! :-)
@Sdirimohamedsalah
@Sdirimohamedsalah 6 месяцев назад
Awesome video and very smooth explanations. Thank you Women’s always do something special they always keep things pretty easy, organized and clean. Learning awk and English at the same time I learned that armoire in English is closet. By the what is the name of house fourniture closet, bed chair in English ?
@onemanshow2441
@onemanshow2441 2 года назад
Thanks for this useful video!
@ooclaar
@ooclaar 7 месяцев назад
Thanks for video! :)
@adamtran5747
@adamtran5747 Год назад
Love the content
@batchrocketproject4720
@batchrocketproject4720 2 года назад
Thanks. Very clear demonstration.
@albertogonzalez5114
@albertogonzalez5114 3 года назад
Very useful, thanks!
@glenhathaway9131
@glenhathaway9131 3 года назад
Haha Debra cancel that request sharpened up my search…. thanks google…..😂
@glenhathaway9131
@glenhathaway9131 3 года назад
Excellent stuff thanks Debra - very clear. A noob speaking here. Where did you get the AWK manual from or the the link you mentioned? Thanks again from New Zealand
@DiaaKasem0
@DiaaKasem0 3 года назад
Thank you.. May I ask how did you know that `head` command can have a `-Number` to get the head lines ... it is not written in the man pages... only `-n Number` .. ?
@debramccusker
@debramccusker 3 года назад
Diaa, I cannot tell you exactly how I know this. I have been using `head` since my days at AT&T Bell Labs back in the 1980's. I am sure that someone taught it to me that way and I have been using it ever since!
@DiaaKasem0
@DiaaKasem0 3 года назад
@@debramccusker i have found it in the info pages though, but nice shortcut :) thank you so much for your efforts
@michaelerbaturakis2435
@michaelerbaturakis2435 3 года назад
Man Pages in my experience only include common commands. Which make them a pain when trying to reimplement complete replications
@baruchben-david4196
@baruchben-david4196 Год назад
-n, --lines=[-]NUM print the first NUM lines instead of the first 10; with the leading '-', print all but the last NUM lines of each file
@DiaaKasem0
@DiaaKasem0 Год назад
@@baruchben-david4196 Thank You :) good to remember… but, my main question was that in video head was used like “head -5” not “head -n 5” which was a new way for me ( but, surprisingly.. after seeing it in this video, i rarely use -n , unless I am passing lines count in a script to head ,, which rarely happens ) .. Thank You :) again
@jasperzanjani
@jasperzanjani 6 месяцев назад
2x for sure
@vcatafesta
@vcatafesta 2 года назад
só no 1.5x para suportar
@pynimp
@pynimp 6 месяцев назад
awokawokawokawokawok
@isaacnaughton5206
@isaacnaughton5206 3 года назад
Hi Debra - I like your tip on NR==1 {next;}. I've found using FNR>1 has a measurable impact on performance (see discussion at this channel: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IEDtCZUuSfg.html&ab_channel=Terminalforlife%28LL%29 ) Your method is wonderfully minimalist, needing to be parsed just once. The only amendment I would make is that I normally use FNR instead of NR to cater for instances where I'm processing multiple files in one session. NR==1 will only hit the first line of the first file. Not sure why you're using cat to pipe the file to awk though. "awk -f strip-header.awk english-french.txt would do the trick, or make the awk file executable as you say in the video (chmod +x strip-header.awk) and then simply run "strip-header.awk english-french.txt".
@debramccusker
@debramccusker 3 года назад
You are correct, Isaac, that the "awk -f" syntax handles the job. I suppose that I used the "cat" and the "|" (pipe) since my students had just been reviewing piping. Good comment, though.
Далее
Administering sudo on Linux
48:23
Просмотров 514
EVERYONE Needs to Learn a Little Bit of AWK!
16:29
Просмотров 397 тыс.
Awk Crash Course
40:38
Просмотров 10 тыс.
How The 'awk' Command Made Me A 10x Engineer
10:40
Просмотров 172 тыс.
Walking Through Several AWK Scripts
27:08
Просмотров 8 тыс.
Xargs Should Be In Your Command Line Toolbag
16:24
Просмотров 99 тыс.
Awk: Hack the planet['s text]!  (Presentation)
59:21
Просмотров 37 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 400 тыс.
An AWK love story -- Cody Mello
21:59
Просмотров 16 тыс.