Thursday, October 28, 2004
New Job
I have changed jobs and am now working for SIAC (Securitys Industry Automation Corporation) which means I get to work on the NYSE computer systems. I take a two hour train rid into Brooklyn every day so I have been catching up on quite a lot of reading.
Monday, October 18, 2004
echo "awk isn't hard" | awk '{ print $0 }'
When I first was intersted in Linux and given a Linux book I read it cover to cover. When it got to awk it had just a page or two saying something like: "Awk is Soooo cool it can do *anything*. but we wont cover any of that here, go buy another book." So I didn't bother learning any awk. I mean you can technically do just about everything without awk which is what I did for years. But as the years when buy I read plenty of Linux101 books. Each and every one would barly cover awk and tell me to go and learn it on my own or buy another book. Last week while looking for a way to parse out lines 30-40 in a file I knew I could do it in bash, but someone showed me how to do it in 1 line of awk. Tweaking the script I ran across a website with some more docs on awk. Seeing something I could use I re-wrote another function in a different script I had reducing its runtime from several minutes to just seconds! (probably from all the overhead of calling the dozen different bash mini-apps and piping involved) With that discovery I was hooked. I read the awk online docs, enough to know what it can do so when I want to do something in awk I will know that it can and just have to go back and refure to the doc for the details. So now that I have spent less then a week knowing awk and I find myself wondering why I never learned it before now. Why don't Linux books cover awk? A small chapter could cover a whole lot and get someone started with awk. Maybe the authors themselved don't know awk because they never learned because it was mising from the books they read...
Subscribe to:
Posts (Atom)
Popular Posts
-
Git hooks are scripts that are run by Git before or after certain commands. Because the hooks are run locally and not on the server it allo...
-
A little over a year ago on reddit I saw a picture of a guy sitting on the edge of a rock . Not just any rock, but a clip of a rock that je...
-
For the 2011 Google Ants AI Challenge rather than doing the typical solution of choosing direction for each ant based upon the shortest pa...
-
I recently put up a new tool on GitHub called git-hooks . This is a tool to manage project, user and global Git hooks for multiple git repo...
-
Depending on the definition "code review" can mean a wide variety of things such as formal code review or automated code analysis....
-
SSD's provide significant improvement in disk IO. How well does that translate over when using Git? A lot. After watching prices dro...
-
All through my programming career I have had a whiteboard, but beyond simply making sure I had one I have never thought much more about it. ...
-
Update: See my more recent blog post Git hooks for a more in depth look at Git hooks. The past few weeks I have started learning Git and ...
-
I have created a new application called KAudioCreator. It is a front-end tool for ripping and encoding CD's. I am happy to say that KAud...
-
This weekend I created a little application called git achievements . Similar to the XBox360 Achievements you can unlock all sorts of Achie...
