Cover of Sed & awk

Sed & awk

by Dale Dougherty, Arnold Robbins · first published 1990

7mentions
3recommended by
6HN commenters
2011–2023first – last mentioned

50% recommend50% neutral

<i>sed & awk</i> describes two text processing programs that are mainstays of the UNIX programmer's toolbox.<i>sed</i> is a "stream editor" for editing streams of text that might be too large to edit as a single file, or that might be generated on the fly as part of a larger data processing step. The most common operation done with <i>sed</i> is substitution, replacing one block of text with another.<i>awk</i> is a complete programming language. Unlike many conventional languages, <i>awk</i> is "data driven" -- you specify what kind of data you are interested in and the operations to be perf

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 1 mention2012: 0 mentions2013: 0 mentions2014: 2 mentions2015: 0 mentions2016: 0 mentions2017: 0 mentions2018: 0 mentions2019: 2 mentions2020: 0 mentions2021: 0 mentions2022: 0 mentions2023: 1 mention2024: 0 mentions2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • yesenadam · Feb 17, 2019 · Recommends

    Same as usual, read every book about it![0] and don't try to learn from the man page. I think the original book by A, W and K (the 2nd edition anyway) was best. Also Arnold Robbins' books Sed and Awk and Effective AWK Programming are great. The GNU Awk User's Guide[1] is amazingly detailed, but the new AWK has bloated a lot, has 1000 features where the older one had a few dozen, and those core ones…

    on “Problem solving with Unix commands” ↗
  • yesenadam · Sep 29, 2019 · Recommends

    A copy: http://gen.lib.rus.ec/book/index.php?md5=0AD0779BF3602F1EA22... Also Arnold Robbins' books Sed and Awk and Effective Awk Programming are excellent, and also detail the many features added since the latest edition of The AWK Programming Language (1988). http://gen.lib.rus.ec/search.php?&req=awk+robbins&sort=year&...

    on “Learn Just a Little Awk (2010)” ↗
  • hudibras · Jun 29, 2014 · Recommends

    The O'Reilly Sed & Awk book is a lot of fun, too. http://shop.oreilly.com/product/9781565922259.do

    on “An Awk Primer” ↗
  • dredmorbius · Jun 30, 2014 · Recommends

    UNIX Power Tools by O'Reilly is a text I strongly recommend for this. It's a sort of hardcopy hypertext narrative through a number of command-line and terminal-focused tools. Parts of it are dated now (it's ... gasp, 22 years since its first edition), but since it's one of those books based on UNIX philosophy it's aged quite well. It, Linux in a Nutshell, the Sed & AWK book, are still a pretty

    on “An Awk Primer” ↗
  • I'm juggling several books currently: 1. Computer Networking: A Top-Down Approach 6th Edition. 2. TCP/IP Illustrated, Vol. 1 2nd Edition. 3. Interconnections: Bridges, Routers, Switches, and Internetworking Protocols 2nd Edition. 4. Engineering a Compiler 2nd Edition. 5. Flex & Bison. 6. Sed & Awk. 7. K & R. 8. The Unix Programming Environment. 9. Advanced Programming in the UNIX Environment. 10.

    on “Ask HN: What technical books are you reading?” ↗
  • cpif · May 17, 2023 · Mentions

    My introduction to roff and co. as a typesetting system was the 1997 edition of Dale Dougherty and Arnold Robbins's Sed & Awk. Many of the book's examples are geared toward automatically inserting/correcting roff macros. I can't recall a specific example from the book, but it would be something like "insert the roff 'section' macro on matches of `/^CHAPTER/`." Ultimately, it's probably not practi

    on “Beautiful Documents with Groff (Part I)” ↗
  • nikcub · Apr 6, 2011 · Mentions

    The best way to learn the UNIX tools is in the context of shell scripting and using the combination of tools to achieve a purpose (such as parsing log files, setting up shortcuts as part of your dev toolchain) 1. Understand the philosophy behind UNIX. ie. everything is a file and it is small apps that are very good at a single task that can be combined through pipes etc. to process larger tasks (

    on “Must Read CS Books For Self Self-Taught Programmers” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help