Lecture3

G sum the data that meets given requirements

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: •  •  Print a string: echo Concatenate and print files: cat Extract top/bobom of files: head, tail Word count: wc Sort lines of text files: sort File pabern searcher: grep Stream editor: sed Pabern- directed scanning and processing language: awk grep •  Search input files and select lines that match one or more pabern –  How to express a pabern? RE –  Paberns may consist of one or more lines •  Usage: “grep pabern input file“ •  Try it out –  Compose a text file, each line containing one string –  Use grep and RE to extract the ligit C++ variable names in the file sed •  With grep and RE, you can extract...
View Full Document

This note was uploaded on 10/17/2013 for the course CS 35L taught by Professor Eggert during the Fall '09 term at UCLA.

Ask a homework question - tutors are online