How The 'awk' Command Made Me A 10x Engineer

  Рет қаралды 178,846

RobertElderSoftware

RobertElderSoftware

Күн бұрын

Пікірлер: 406
@user-uk9er5vw4c
@user-uk9er5vw4c 10 ай бұрын
the narrative that lead to the tutorial is so cute as it never happened.
@Bjawu
@Bjawu 10 ай бұрын
I sure hope so, or someone needs to learn about spreadsheets.
@elieobeid77
@elieobeid77 9 ай бұрын
it never happened indeed and a maximum of 4 lines of python can do this, that's why I avoid learning these tools
@jazzochannel
@jazzochannel 9 ай бұрын
spreadsheet? is that like lasagna or vegemite or nutella,@@Bjawu ?
@Bjawu
@Bjawu 9 ай бұрын
@@jazzochannel There *are* some similarities with vegemite, now that I thing about it. You don't want to use too much.
@ChimeraBlockhead
@ChimeraBlockhead 8 ай бұрын
I feel like people just don’t get this guy’s sense of humor
@cthyau
@cthyau 10 ай бұрын
I used to use awk every day about 30 years ago. A nice walk down the memory lane with this video.
@jazzochannel
@jazzochannel 9 ай бұрын
memory lane? why did you stop?
@cthyau
@cthyau 9 ай бұрын
@@jazzochannelmy work now doesn’t involve coding and data manipulation any more.
@tmanley1985
@tmanley1985 2 жыл бұрын
I like how there was a narrative style to the video. That's really engaging. You've earned a sub!
@mjscpr
@mjscpr 2 жыл бұрын
Great pace too.
@Bluesourboy
@Bluesourboy 10 ай бұрын
The awk command is now my favorite Linux command
@catsupchutney
@catsupchutney 10 ай бұрын
I avoided Awk for 15 years, but then I saw the light.
@cinderwolf32
@cinderwolf32 10 ай бұрын
​@@catsupchutney I have a year left of avoiding it like the plague, maybe. Then I'll give it a shot.
@bide7603
@bide7603 10 ай бұрын
Bro went from a 0x developer to a 0.5x dev
@Dante-420
@Dante-420 10 ай бұрын
10x0 is still 0
@cleverhippo
@cleverhippo 10 ай бұрын
what a hater, the video was great
@aimpizza6823
@aimpizza6823 9 ай бұрын
It is but the title is wayy over the top
@nufosmatic
@nufosmatic 10 ай бұрын
Many moons ago I helped maintain what we thought might be the largest awk script ever created - it converted between the proprietary FORTRAN code for compilers by our competitors into our own proprietary FORTRAN code. Of course, monthly, if not weekly, we'd find something it did not convert properly, and it would have to be changed. Not only was it possibly the largest awk script, but it was the most modified awk script...
@artemiasalina1860
@artemiasalina1860 10 ай бұрын
Fascinating! Do you remember how many lines (roughly) it was?
@nufosmatic
@nufosmatic 10 ай бұрын
@@artemiasalina1860 It was well over a thousand lines.
@bide7603
@bide7603 10 ай бұрын
Sounds awk ward to work with…. I’m sorry
@nufosmatic
@nufosmatic 10 ай бұрын
@@bide7603It's not funny, it's a way of life...
@somebody-anonymous
@somebody-anonymous 9 ай бұрын
I once took a little boy under my wing who thought that text manipulation equated to social skills. He was a little awk ward
@kellybmackenzie
@kellybmackenzie 10 ай бұрын
I enjoy using GREP and SED and I've been really wanting to learn how to use AWK. This video motivated me to do so, I'm gonna!! Also LOL, the end of the video made me laugh a lot. I love this!
@Dad-ij2qy
@Dad-ij2qy 10 ай бұрын
Thank you for describing the pattern-matching and default assumptions so thoroughly and illustrating each point with example code. Until today have never seen any awk tutorial that could get me up to speed so quickly as your video. Kudos! Showing how awk can replace both the grep and sed commands was icing on your cake. And your last sentence was a big flaming torch sitting atop the cake!
@BytebroUK
@BytebroUK 9 ай бұрын
Get real- once you learn regex, and in my own world, specifically Perl regex, that stuff becomes fairly trivial. "Analysing log files from umpty-hundred jobs" used to be a chore but these days I can script a working solution in an hour or so. In Perl. Because that's the tool I'm familiar with.
@adam872
@adam872 10 ай бұрын
Utilities like awk are one of the reasons I love Unix. Everything is in a text file and the OS gives you the tools to parse and manipulate the contents.
@weaponkid1121
@weaponkid1121 11 ай бұрын
I get that awk is a useful tool overall, but with your given example, why exactly would writing a program be time consuming?
@Temulgeh
@Temulgeh 10 ай бұрын
i think it was just a poor attempt at a motivating example and a joke at the same time
@TheKuhtaMusic
@TheKuhtaMusic 10 ай бұрын
the whole premise was quite funny
@jeanhaley3051
@jeanhaley3051 10 ай бұрын
It would take as long to write in python as it would take learning awk. At least pre AI, now AI could generate the command in moments.
@Temulgeh
@Temulgeh 10 ай бұрын
@@jeanhaley3051 i just tried writing that python script and measured how much time it took me (without trying to rush it), it took 1 minute. it might be faster with awk in the long run? but 1 minute is good enough for me
@utvikler-no
@utvikler-no 10 ай бұрын
Even less code with Perl. And this example is not recommended at all. What happens when the data is changed. It all fails.
@TON-vz3pe
@TON-vz3pe 3 жыл бұрын
Wow.. I know awk well, but what a presentation. This is an underrated video. Keep it up dude.
@RobertElderSoftware
@RobertElderSoftware 3 жыл бұрын
Thanks, will do!
@brokenregime
@brokenregime 10 ай бұрын
The solution to the original problem was a bit of overkill, but this was a good example for some teaching of base awk functionality. This is a more direct and shorter solution, only changing the F lines and printing all lines: $ awk '$2=="F" {$1=sprintf("%.1f",($1-32)/1.8); $2="C";} 1' temps.csv (the single "1" at the end is the condition, which evaluates as "true", evoking the default action: print -- nice shortcut if you mean only to change some lines but print all)
@ppokorny99
@ppokorny99 6 ай бұрын
Excellent. Glad to see someone else recognized and posted the solution I thought was more elegant And taught me something new with that “1” trick!
@MohamedAli-dk6cb
@MohamedAli-dk6cb 10 ай бұрын
Finally and after so many years, I understand how 'awk' works. Thank you, Legend
@PauloConstantino167
@PauloConstantino167 3 жыл бұрын
Dude........ Your content is brilliant. You must become more known! We desperately need more Unix content on youtube.
@BytebroUK
@BytebroUK 10 ай бұрын
'awk', 'sed', and 'Perl'. All I ever need for scraping from log-files!
@GreyDeathVaccine
@GreyDeathVaccine 10 ай бұрын
head and tail is also useful for a redneck like me :D
@obiwankenobe3962
@obiwankenobe3962 9 ай бұрын
If you know Perl, do you still have a use for Awk? (I'm wondering if I should learn it, I already know Perl. From the looks of this video, I can do the same with Perl in maybe 20-30% more characters - not enough more to trigger learning it)
@BytebroUK
@BytebroUK 9 ай бұрын
@@obiwankenobe3962 Sure. Back in the old Unix days you needed sed and awk to to text munging. Now I just use Perl for all of it. Perhaps more characters to type in, but much simpler syntax and easier to learn, IMO.
@obiwankenobe3962
@obiwankenobe3962 9 ай бұрын
@@BytebroUK thx for confirming my suspicion
@shyflyf3772
@shyflyf3772 5 ай бұрын
@@obiwankenobe3962 old comment but still, Perl was devised in part to be awk/sed killer, it has special flags for "read a line at a time and do stuff" and syntax for "write-only" one-liners. Perl is a Swiss Army Chainsaw, and that includes awk and sed functionality. It borrows quite a bit from sed and awk syntax.
@Quarky_
@Quarky_ 10 ай бұрын
Amazing presentation! I've been avoiding Awk for close to a decade, so much so I default to Sed for this kind of tasks! After watching your video, I feel more confident to try Awk next time :) Thank you!
@krozareq
@krozareq 3 жыл бұрын
@4:10 "As you see, awk is not quite this smart. And here you can see how awk isn't quite as good as a CSV parser. " In GNU awk set the built-in FPAT variable. In your example: FPAT = "([^,]+)|(\"[^\"]+\")"
@christopherweeks89
@christopherweeks89 10 ай бұрын
This is video is great and demystified awk in a very easy to understand way
@stillwrinkled
@stillwrinkled 2 жыл бұрын
so much content in just 10mins. amazing!
@Zeioth
@Zeioth 10 ай бұрын
"I was so unproductive!" → Proceeds to open the Gnome terminal
@GreyDeathVaccine
@GreyDeathVaccine 10 ай бұрын
Alacritty FTW 🙂
@lanternofthegreen
@lanternofthegreen 10 ай бұрын
This is why people hate the Linux community.
@-aexc-
@-aexc- 10 ай бұрын
using a better terminal does t make you more productive, just pipe the massive prints so you dont have to worry about print speed on compilation or something. (i say this as someone who uses a fast terminal (foot))
@xyve6129
@xyve6129 10 ай бұрын
I always thought awk was super hard to learn. 😭 Thanks for explaining it so well! 🙏
@robbybankston4238
@robbybankston4238 10 ай бұрын
At my past job where we used Linux exclusively, I used awk extensively along with bash scripts, sed, tr, od, etc. There are so many handy Linux commands.
@john849ww
@john849ww 9 ай бұрын
I've never done more with awk than printing columns from a text file, like the 'cut' command. And for other things, use a perl one-liner. Loved the average calculation example in awk. Good to have a new tool in the belt!
@plasticdub1477
@plasticdub1477 9 ай бұрын
agreed - awk is awesome and i use it all the time - the most extreme example was a ~400 line script to analyze network files extracted from big integrated circuits but it’s great (and fast) at processing big text files - and it’s highly portable too since it’s installed on pretty much every unix/linux system dating back to the 1960s
@FishKungfu
@FishKungfu 8 ай бұрын
Great video! So, it's 3 years later, I hope you got your juicy 1% raise!
@TheEvertw
@TheEvertw 10 ай бұрын
I love how simple programs developed 50 years ago are still extremely useful. That is because the core of Computing hasn't changed much at all over that time, and UNIX did an excellent job of capturing that core. I pity the fools who know nothing outside of a GUI. Because with a GUI, you get a single tool that can do only what its designers allow you to do. But the UNIX concept is to have a load of little tools that one can combine to do exactly that what you want it to do. Perhaps I should write a GUI overlay for the shell, allowing the old UNIX tools to be configured and linked together graphically. That would be fun, and might help people discover the tools that are available at the CLI.
@panossavvaidis6086
@panossavvaidis6086 9 ай бұрын
BEST INTRO TO AWK. PERIOD!
@multipontushd4626
@multipontushd4626 10 ай бұрын
I used awk and sed to convert entire flight manuals into our dataformat that won us the deal with pilatus as we could convert it to our software suit.
@doughale1555
@doughale1555 10 ай бұрын
I challenged a guy who believes in awk, I let him define the problem. He could use awk, sed, … and I would use cpp, yacc, and lex. The challenge was on two fronts, dev time - first to start, and run time. He insisted that he may run slower than me, but he would clearly win dev time. Well, I ended up not using yacc, just cpp and lex. Beat him in dev time by nearly an hour. Mine ran in less than a second and his took a few minutes. To me awk is awkful with a silent K. It is a very useful tool, but it is just so easy to create your own specific, and much better tool quicker than using awkful.
@pldcanfly
@pldcanfly 8 ай бұрын
This is such a great explainer of a tool i rarely used, but saw the potential, although i never dove in deep enough to learn it. Thank you!
@BluesManPeich
@BluesManPeich Жыл бұрын
This is an amazingly instructive video. Thank you.
@TheEvertw
@TheEvertw 10 ай бұрын
Excellent presentation of how AWK works and how it could benefit you. I haven't used it personally (I would use Python: slightly more complex to use, but MUCH more powerful), but I know people who use it often, e.g. to scan log files for certain situations. It is great for iteratively improving the filters, browsing through the data.
@lifewater
@lifewater 9 ай бұрын
Ah the classic 10x engineer, Making 10x the work for everyone else. I too have earned this little.
@moreirajesse
@moreirajesse 2 жыл бұрын
Nice tips and examples, man. Greetings from Brazil.
@chang112x
@chang112x 10 ай бұрын
The awk command is my favorite linux command. 😂😂😂 Great content! Keep going!
@Neura1net
@Neura1net 10 ай бұрын
This was an exceptionally good tutorial. Thank you.
@pneumaticdetach
@pneumaticdetach Жыл бұрын
Awesome explanation. Thank you
@lldadb664
@lldadb664 10 ай бұрын
It's been 3 years since you posted the video. I hope you got that raise. Gotta offset inflation somehow.
@greob
@greob 4 жыл бұрын
Thanks for sharing. Good luck with your 1% raise!
@RobertElderSoftware
@RobertElderSoftware 4 жыл бұрын
Thank you!
@NastyWicked
@NastyWicked 9 ай бұрын
@@RobertElderSoftware so... did you get the raise?
@saaah707
@saaah707 10 ай бұрын
Humorous but informative, I'm no longer afraid of awk, nice video Don't even ask how many python scripts i wrote to do this kind of stuff, grappling with pandas csv reader and such
@hermask815
@hermask815 10 ай бұрын
At a time when Excel had only 65000 lines, I used awk to condense big text data files to a manageable size used the associative array feature of awk. If you’re working with same files over again, I suggest to include one sample line for each pattern because you may not recognise the line from the pattern after 2 months. The Fahrenheit example I’d done in libreOffice. Import and so on. There was a time where you had difficulties getting an awk that works on windows.
@test-rj2vl
@test-rj2vl 10 ай бұрын
When I look at the command you ended up with I think if it was me it would have taken me less time to write it in python that I already know than to learn all that in awk.
@prism223
@prism223 10 ай бұрын
Real world examples IME look something like this: Some poorly documented program just spat out a noisy status message and produced a bunch of poorly named files. You want to parse the message to associate metadata with the output files, then rename the files with metadata as part of the name. First pipe message into awk to separate into fields, then do simple transform in awk or pipe into sed or grep, then sort file names for association with the metadata output. Then pipe both into awk again to generate a shell script to rename the files.
@i.8530
@i.8530 9 ай бұрын
Its now 3 years later, he better have gotten that 1% raise
@zeppelinmexicano
@zeppelinmexicano 10 ай бұрын
The temperature data format is a good one for exercising awk. This is a data driven world.
@BooleanOperator
@BooleanOperator 10 ай бұрын
Great presentation style. I just subscribed, hoping to hear if you got that 1% raise.
@RobertElderSoftware
@RobertElderSoftware 10 ай бұрын
I didn't get any raise this year, but I've got a good feeling that if I work overtime for just a couple more years, someone will finally notice my hard work :)
@first-thoughtgiver-of-will2456
@first-thoughtgiver-of-will2456 10 ай бұрын
I really think we need better parsing libraries and at some point the most effective way to dev will be an editor that is easy to add features to which essentially will be coding from the command line. Even between awk and sed there are editing cases where I cannot cleanly implement my operation/macro.
@wojciech-kulik
@wojciech-kulik 10 ай бұрын
Neovim?
@e74av
@e74av 10 ай бұрын
1.5% raise for the gentleman please.
@RickTimmis
@RickTimmis 10 ай бұрын
Nice Video, this is a great explanation of awk, thank you for sharing.
@jcdenton7914
@jcdenton7914 10 ай бұрын
It's 3 years later, did you get that raise bro?
@Blaisem
@Blaisem 10 ай бұрын
I remember when I used to torture myself with arcane bash commands and construct a towering awk command for complex file parsing. The cryptic awk errors were chef's kiss. Honestly I just prefer any other language at that point.
@ziranshuzhang6831
@ziranshuzhang6831 10 ай бұрын
writing a dedicated program takes forever? I agree awk does faster, but writing a python script will take at most half a minute...
@hamesparde9888
@hamesparde9888 3 ай бұрын
AWK is very cool. I wore a small program using it and Bourne Shell that was about 300 lines long, but it would have been a lot longer if I was using something else. I think people probably overlook it nowadays because it's old and it's syntax is a bit archaic, but it's very powerful!
@DougDingus
@DougDingus 10 ай бұрын
I love this video. Awk is one of the basic UNIX tools I always skipped over. Bad call, lol.
@AWriterWandering
@AWriterWandering 8 ай бұрын
Awk is a very powerful program indeed. The only thing that keeps it from completely replacing grep for me is the lack of a Perl mode for regex.
@PotterPhoto
@PotterPhoto 10 ай бұрын
As a data engineer I did a lot in VIM. But mainly just for small stuff like formatting sample files that I would test transform. And finding anomalies in huge files. Not as powerful as awk, but also a different interface.
@yoitsgiook
@yoitsgiook Жыл бұрын
1% raise 😂 Thanks for the tutorial!
@starterdev
@starterdev 10 ай бұрын
I'll never use IDEs and Vscode anymore to process texts! Thanks ❤
@jozefsoucik3115
@jozefsoucik3115 10 ай бұрын
I like your shorts "this is my favorite command", but the longer are more explanatory and better pauseable aswell. Thanx
@elginbeloy9066
@elginbeloy9066 9 ай бұрын
0:30 dedicated Python code for that task is 6 lines. ``python with open('temps.txt', 'r') as input_file: with open('temps_all_c.txt', 'w') as output_file: temp, scale = line.strip().split() if scale == 'F': temp = (float(temp) - 32) * 5/9 out_file.write(f'{temp} C ') ```
@TecnocraciaLTDA
@TecnocraciaLTDA 10 ай бұрын
Today AWK isn't only a text-processing utility, it is a complete general purpose programming language! You can use loops, variables, regex, conditionals, functions, array and string manipulation, math lib, include files...
@draakisback
@draakisback 10 ай бұрын
Awk is cool but it's just another scripting language. I don't really get the premise, I would have immediately just written a simple bash script to do it or used Python or lisp depending on what machine I was working on. Awk is useful for sure but it's literally the same thing.
@asdf84421
@asdf84421 3 ай бұрын
These elegant tools focused on practicality and performance are what made me fall in love with Unix (and then OSX). Windows feels like a cludgy toy OS in comparison.
@josiahjack455
@josiahjack455 4 ай бұрын
I piped awk into sed once so I could graph certain lines of a csv dataset in Excel because Excel couldn't open the full file for me to filter it. Awk hey that worked, yeah that's what I sed.
@aGj2fiebP3ekso7wQpnd1Lhd
@aGj2fiebP3ekso7wQpnd1Lhd 10 ай бұрын
Writing a dedicated program would have taken about 7 lines of code and 5 min, not forever. But, I digress. Us Nix folks live by grep, sed, awk, cut, xargs, etc.
@SpiroConomos-b1z
@SpiroConomos-b1z Жыл бұрын
Great vid thanks! @10:20 the "C" doesn't appear in the output. Should it be inside the double quotes? ie ` C" = "` be `" C = "`?
@RobertElderSoftware
@RobertElderSoftware Жыл бұрын
Good catch, you're exactly right!
@Misteribel
@Misteribel 10 ай бұрын
Writing a script in C#, F# or Python to do this takes 1 minute and the code will be more understandable and can be copied into your project. Awk is Awesome in niche situations, but I'd only use it when other languages are not available.
@andrefig822
@andrefig822 10 ай бұрын
yeah given this is just a backstory case for a awk lesson. It still really depends the tech the dev is more used to. If the peson uses shell commands a lot everyday, it's easy to just awk, great to use what it offers. Otherwise is just no-brainer to write a small standalone app/script in your fav language (or any tech), hell it's most of the times just easier to google spreadseet or prompt into ai assistant (that appeared after this video being posted)
@bromophenol2469
@bromophenol2469 10 ай бұрын
The awk command is my favorite command.
@alexonrails
@alexonrails 10 ай бұрын
in 2024 it's counter-productive to rely on awk as it's missing libraries to work with common formats: multiline rows, binary (like parquet), csv with quotes, headers, footers, excel i.e. pandas.read_csv in jupyter/ipython would do the same (could have a one-liner if you wish) but it's compatible with binary formats and anything you could possibly think of. another option is excel if there is no need to repeat the transformation.
@skyeplus
@skyeplus 10 ай бұрын
There is also jq for json manipulation, but I've never used it in practice.
@beginlinuxguru7354
@beginlinuxguru7354 11 ай бұрын
Very cool. I hope you don't mind, but I've just placed a link to this video in the awk chapter of the new shell scripting book that I'm currently writing. (It will be out sometime in the spring.) Many thanks!
@RobertElderSoftware
@RobertElderSoftware 11 ай бұрын
Thanks for the link, I feel honored :)
@dylanh333
@dylanh333 9 ай бұрын
If you're working in a Windows environment, you can use PowerShell in much the same way for data processing tasks like this. That said, I really need to start using awk in Linux instead of just contorting sed into doing things it wasn't made to do.
@sadfox9294
@sadfox9294 9 ай бұрын
Writing a dedicated program wasn't an option, because that would take forever 1) I could write a simple Python script to solve this in minutes, maybe even under a minute. 2) awk commands are essentially little programs, except you are probably not very proficient with it and crafting the command will take more than writing the code in any other language you are familiar and this task was never going to be repeated again 3) I cannot count the number of times I thought I will not repeat a task, didn't save the solution and then solved the thing all over again later.
@Hizashisam
@Hizashisam 9 ай бұрын
You are the great teacher
@jiangxu3895
@jiangxu3895 2 жыл бұрын
Hello, thanks for sharing this knowledge. Interesting way of presentation and very concise and informative.
@phillipscott1920
@phillipscott1920 3 жыл бұрын
Super Useful, and entertaining
@takeshikovacs1081
@takeshikovacs1081 10 ай бұрын
awk is amazing , I love it !
@dexterplameras3249
@dexterplameras3249 10 ай бұрын
Perl was written because Larry Wall was frustrated with the Awk+Sed combo. Awk+Sed didn't do what he wanted it to do. Perl is still much better then the Awk+Sed combo, however very few people learn Perl but have reverted to learning Awk+Sed instead for text processing. Its a real shame because Perl is still hands down the best for text processing, whether it be on the command line or processing text files.
@sabitkondakc9147
@sabitkondakc9147 Жыл бұрын
yep, awk changed my habits either, thanks for sharing!
@MickSanford
@MickSanford 10 ай бұрын
someone has earned themselves a pizza party
@OneManCanStopTheMotorOfWorld
@OneManCanStopTheMotorOfWorld 10 ай бұрын
The Awk command is my favorite Linux command
@RobertElderSoftware
@RobertElderSoftware 10 ай бұрын
This is my favorite comment.
@gargantooga
@gargantooga 11 ай бұрын
It's been 3 years since you made this video. I really hope you got your raise.
@RobertElderSoftware
@RobertElderSoftware 11 ай бұрын
Not yet, but I'm still hopeful :)
@petrus4
@petrus4 10 ай бұрын
Awk was pretty much the first scripting language; it was the ancestor of Perl. It's largely taken over shell scripting on Stack Overflow these days; the kids there love it because they're so paranoid about only calling a single process, and doing everything in a single line. I think its' syntax is a bit tricky, personally; but it does make it extremely easy to create mathematical filters that are hard to do with virtually anything else.
@martiananomaly
@martiananomaly Жыл бұрын
0:32 that is definitely not true. This can easily be solved using basic file reading, splitting and the C to F formula.
@AllanKobelansky
@AllanKobelansky 10 ай бұрын
You can use libraries to extend AWK.
@Criterion1990
@Criterion1990 10 ай бұрын
the awk command is my favorite linux command.
@bultvidxxxix9973
@bultvidxxxix9973 10 ай бұрын
For reference, here is a PowerShell solution for that problem: Import-Csv .\temps.csv -Delimiter "`t" | Select-Object @{Name="temp";Expression={if($_.unit -eq "F") {"$([math]::Round(($_.temp-32)/1.8,1))"} else {$_.temp}}}, @{Name="unit";Expression={"C"}} | ConvertTo-Csv -Delimiter "`t" -NoTypeInformation | %{$_.toString().Replace("`"", "")} However normally you wouldn't do that as one line in PowerShell. You can just save the whole table as a variable and work on that instead: $temps = Import-Csv .\temps.csv -Delimiter "`t" foreach($entry in $temps) {if($entry.unit -eq "F") { $entry.unit="C"; $entry.temp="$([math]::Round(($entry.temp-32)/1.8,1))" }} $temps | ConvertTo-Csv -Delimiter "`t" -NoTypeInformation | %{$_.toString().Replace("`"", "")} Assuming you need it in exactly the same format again. I'd argue that using commas in a csv file and quoting the values would be better though.
@kfletcher2005
@kfletcher2005 10 ай бұрын
Awk is great. Been using it for 20+ years
@johnsmith1953x
@johnsmith1953x Жыл бұрын
@10:20, A Joshua Fluke like pun there? :D
@Ashalmawia
@Ashalmawia 10 ай бұрын
I was hoping there was a "but" to the "doesn't parse quotes" problem. it feels like I would always be running into the issue that I couldn't quite parse a file with 100% accuracy. (some line or other would be inconsistent somewhere.)
@rehanga6944
@rehanga6944 10 ай бұрын
How about using Excel or Libre Office instead to open the csv file?
@justawatchin2
@justawatchin2 10 ай бұрын
For just viewing a more complex csv, sure, but the transformations (especially more complex ones) are better scripted. Libreoffice beats Excel for me with imports as it defaults to UTF.
@M.W.777
@M.W.777 10 ай бұрын
Thanks -- You have a new Sub!! Take care
@bugnar7
@bugnar7 10 ай бұрын
Awk syntax is so convoluted and specific, how about writing a simple python script instead?
@leonvolq6179
@leonvolq6179 Жыл бұрын
Before awk I was living on the street and had no significant other. With awk I'm now living on a mansion and have two wives 🎉
@essetee
@essetee 10 ай бұрын
Here we work to live, we don't live to work. Social life is more important than work.
@calmeilles
@calmeilles 10 ай бұрын
Okay, so this was three years ago. Did you get that raise? 🤣
@RobertElderSoftware
@RobertElderSoftware 10 ай бұрын
I'm still waiting, but hopefully just another few years of overtime and someone will finally notice my hard work :)
@chesshooligan1282
@chesshooligan1282 10 ай бұрын
Writing a simple script to do that task wouldn't take forever. I'm pretty sure I could write one in Autohotkey (using the StrSplit() function) or in Python (using the split() method) in under 5 minutes, which is probably about the same time it took you to figure out that awk command.
@karthiksundaram544
@karthiksundaram544 10 ай бұрын
Are u covering sed awk
@fanshaw
@fanshaw 10 ай бұрын
Excellent explanation.
@generalzugs6017
@generalzugs6017 10 ай бұрын
Hmm, first time I watched this video, sound was behind the image, so you looked like Bruce Lee speaking in movies 😁 I thought it was intentional at first, then realized it was a problem in my browser. AWKward.
EVERYONE Needs to Learn a Little Bit of AWK!
16:29
Gary Explains
Рет қаралды 400 М.
Why I Rejected My NVIDIA Job Offer
16:07
RobertElderSoftware
Рет қаралды 23 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,6 МЛН
How To Become A 37 Year Old Broke Loser
1:13:26
RobertElderSoftware
Рет қаралды 583 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Why Is Labor Force Productivity So Low?
19:15
RobertElderSoftware
Рет қаралды 30 М.
Awk: Hack the planet['s text]! (Presentation) - 2023 Update
1:07:40
Benjamin Porter
Рет қаралды 21 М.
Xargs Should Be In Your Command Line Toolbag
16:24
DistroTube
Рет қаралды 102 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 310 М.
What Am I Doing With My Life?
6:09
RobertElderSoftware
Рет қаралды 14 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
before you code, learn how computers work
7:05
Low Level
Рет қаралды 574 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.