Awk Tutorial and Regular Expressions#
Awk is a tool for processing text files, or data that is treated as text.

For some stuff I have been working on, I tend to use Awk a lot to filter down text being returned from another program (like a ls command).

Here is a nice tutorial on Awk.

Also, when using regular expressions (regexp, or regex) with Awk, here are a few helpful reminders and links.

. matches any character
* zero or more repetitions of the previous character or expression
? zero or one occurrence of the previous expression
+ one or more occurrences of the previous expression


Regexp cheat sheet.

Test regular expressions.

Regexp website (tutorials and more)

Another Regexp tutorial

Categories:  | 
Sunday, November 11, 2007 10:37:56 PM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

All content © 2008, Christopher May, Inc
Open Job Positions
On this page
Google Ads
This site
Calendar
<November 2007>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: