Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Understanding Basic Operations

Chapter 2. Understanding Basic Operations

If you are starting out to learn sed and awk, you can benefit from looking at how much they have in common.

  • They are invoked using similar syntax.

  • They are both stream-oriented, reading input from text files one line at a time and directing the result to standard output.

  • They use regular expressions for pattern matching.

  • They allow the user to specify instructions in a script.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial