Important announcement

Dear visitor,

Please note that this OpenCourseWare platform will be replaced at the end of 2026 by a new platform (under the same url ocw.tudelft.nl).

Courses and their contents that are currently available the platform will partly be migrated. URL’s for this content will change and content might be unavailable for some time. In addition, some courses will not be available anymore.

If you are linking to specific courses on this platform (for instance for your students), please take timely measures to avoid problems with access. Possible actions are:

  • Download the materials to your local platform (laptop, server)
  • For educators only (including TU Delft lecturers): Contact us at ocw@tudelft.nl and inform us what course you are using in what context (institute, program, period of use, number of students). We will research (in collaboration with the authors of the course) and decide if we will migrate the course, and if yes, can supply you with a new url.

Thank you.

3.1.1 Introduction to Selection

Course subject(s) Module 3. Selection

Banner 3 Selection

The second part of the processing pipeline requires us to master skills for specifying string patterns we want to match by means of regular expressions and acquaint ourselves with some powerful commands that use them. More specifically, we will learn to combine individual operators into a regular expression, select lines matching a regular expression, select and process data separated into fields, automate textual file changes, and extract data from XML and JSON files.

Creative Commons License
Unix Tools: Data, Software and Production Engineering by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://online-learning.tudelft.nl/courses/unix-tools-data-software-and-production-engineering/ /
Back to top
[sg_popup id=6]