Difference between revisions of "Sed-Stream-Editor/C2/Overview-of-Sed/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {| border="1" |- || '''VISUAL CUE''' || '''NARRATION''' |- || '''Slide 1:''' ||Welcome to the '''spoken tutorial ''' on '''Overview of Sed''' commands. |- || '''Slide 2:''...")
 
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|-
 
|-
 
|| '''Slide 1:'''
 
|| '''Slide 1:'''
||Welcome to the '''spoken tutorial ''' on  '''Overview of Sed''' commands.
+
||Welcome to the '''spoken tutorial ''' on  '''Overview of Sed commands'''.
 
|-
 
|-
 
|| '''Slide 2:'''
 
|| '''Slide 2:'''
Line 15: Line 15:
 
|| In this tutorial, we will learn about:
 
|| In this tutorial, we will learn about:
 
* '''Sed'''
 
* '''Sed'''
* Features of '''Sed'''commands and
+
* Features of '''Sed commands''' and
* the content available in various tutorials under this series
+
* The content available in various tutorials under this series
  
 
|-
 
|-
Line 22: Line 22:
  
 
'''System requirements'''
 
'''System requirements'''
|| This tutorial is recorded using
+
|| This tutorial is recorded using '''Ubuntu Linux '''OS version 18.04  
* '''Ubuntu Linux '''OS version 18.04  
+
  
 
|-
 
|-
Line 41: Line 40:
 
* '''SED''' stands for '''Stream EDitor.'''
 
* '''SED''' stands for '''Stream EDitor.'''
 
* It is a simple and powerful text stream editor
 
* It is a simple and powerful text stream editor
* It is one of the powerful utility offered by Linux/Unix systems
+
* It is one of the powerful utility offered by '''Linux/Unix systems'''
 
|-
 
|-
 
|| '''Slide 6:'''
 
|| '''Slide 6:'''
Line 47: Line 46:
 
'''Features of Sed'''
 
'''Features of Sed'''
 
||
 
||
* Sed commands can edit files even without opening it.
+
* '''Sed commands''' can edit files even without opening it.
* It supports regular expression which allows it perform complex pattern matching
+
* It supports '''regular expression''' which allows it to perform complex '''pattern matching'''
* Most people use sed for its substitution features.
+
* Most people use '''sed''' for its substitution features.
* It performs more functions on files like searching, find and replace, insertion or deletion.
+
* It performs more '''functions''' on files like searching, find and replace, insertion or deletion.
* It is capable of solving complex text processing tasks with few lines of code.
+
* It is capable of solving complex '''text processing''' tasks with few lines of code.
 
* It prints a selective portion of a text file.
 
* It prints a selective portion of a text file.
* Using sed we can automates the process of making edits to files.
+
* Using '''sed''' we can automate the process of making edits to files.
 
|-
 
|-
 
|| '''Slide 7:'''
 
|| '''Slide 7:'''
Line 59: Line 58:
 
'''Who can use Sed?'''
 
'''Who can use Sed?'''
 
|| Sed can be used by
 
|| Sed can be used by
* Software developer
+
* '''Software developer'''
* System administrator and
+
* '''System administrator''' and
* GNU Linux users
+
* '''GNU Linux users'''
  
 
|-
 
|-
Line 85: Line 84:
 
'''Sed special characters'''
 
'''Sed special characters'''
 
|| The next tutorial is '''Sed special characters.'''
 
|| The next tutorial is '''Sed special characters.'''
This tutorial explains
+
This tutorial explains '''Print command'''.
* '''Print command'''
+
 
Also, how to use'''special characters '''such as
+
Also, how to use'''special characters ''' such as
 
*'''$ (dollar)'''
 
*'''$ (dollar)'''
 
*'''^ (caret)'''
 
*'''^ (caret)'''
Line 103: Line 102:
 
|| The next tutorial is '''Sed commands with Files.'''
 
|| The next tutorial is '''Sed commands with Files.'''
  
Here we will learn how to use*Delete command
+
Here we will learn how to use
*Write command
+
*'''Delete command'''
*Read command
+
*'''Write command'''
*Append command
+
*'''Read command'''
*Insert command
+
*'''Append command'''
*Change command
+
*'''Insert command'''
*Execute command
+
*'''Change command'''
 +
*'''Execute command'''
 
|-
 
|-
 
||  
 
||  
Line 128: Line 128:
 
* '''Sed substitute command '''with
 
* '''Sed substitute command '''with
 
** Escaping character and
 
** Escaping character and
** Delimiter
+
** '''Delimiter'''
 
|-
 
|-
 
|| Show'''More on Sed commands''' tutorial.
 
|| Show'''More on Sed commands''' tutorial.
Line 138: Line 138:
 
|| Slide 12:  
 
|| Slide 12:  
 
'''Advanced Sed Command'''
 
'''Advanced Sed Command'''
|| Here we will learn how '''sed commands '''can be used by
+
|| Here we will learn how '''sed commands ''' can be used by
*'''Programmers and'''
+
*'''Programmers ''' and
 
*'''System Administrators'''
 
*'''System Administrators'''
 
|-
 
|-
Line 152: Line 152:
 
|| In this tutorial, we learnt about
 
|| In this tutorial, we learnt about
 
* '''Sed'''
 
* '''Sed'''
* Features of '''Sed''' commands and
+
* Features of '''Sed commands''' and
* the content available in various tutorials under this series
+
* The content available in various tutorials under this series.
 
|-
 
|-
 
|| Slide 14:
 
|| Slide 14:
  
About Spoken Tutorial project
+
About Spoken Tutorial project:
 
|| The video at the following link summarises the Spoken Tutorial project.
 
|| The video at the following link summarises the Spoken Tutorial project.
  
Line 165: Line 165:
  
 
Spoken Tutorial workshops
 
Spoken Tutorial workshops
|| The''' Spoken Tutorial Project''' Team:
+
|| The''' Spoken Tutorial Project''' Team conducts workshops and gives certificates.
* conducts workshops and
+
 
* gives certificates
+
 
For more details, please write to us.
 
For more details, please write to us.
 
|-
 
|-

Latest revision as of 15:39, 19 July 2021


VISUAL CUE NARRATION
Slide 1: Welcome to the spoken tutorial on Overview of Sed commands.
Slide 2:

Learning Objectives

In this tutorial, we will learn about:
  • Sed
  • Features of Sed commands and
  • The content available in various tutorials under this series
Slide 3:

System requirements

This tutorial is recorded using Ubuntu Linux OS version 18.04
Slide 4:

Prerequisites

To follow this tutorial, you should know basics of
  • Linux and
  • Shell scripting

If not, then go through the relevant spoken tutorials on this website.

Slide 5:

About SED

  • SED stands for Stream EDitor.
  • It is a simple and powerful text stream editor
  • It is one of the powerful utility offered by Linux/Unix systems
Slide 6:

Features of Sed

  • Sed commands can edit files even without opening it.
  • It supports regular expression which allows it to perform complex pattern matching
  • Most people use sed for its substitution features.
  • It performs more functions on files like searching, find and replace, insertion or deletion.
  • It is capable of solving complex text processing tasks with few lines of code.
  • It prints a selective portion of a text file.
  • Using sed we can automate the process of making edits to files.
Slide 7:

Who can use Sed?

Sed can be used by
  • Software developer
  • System administrator and
  • GNU Linux users
Now, we will briefly go through the individual tutorials in this series.
Slide 8:

Sed Substitute command

The first tutorial in this series is Sed Substitute command

It explains:

  • Workflow of Sed command
  • Introduction to Sed command
  • Sed substitute command and
  • Various options with the substitute command.
Show “Sed Substitute command” tutorial. Here is a glimpse of the tutorial.
Slide 9:

Sed special characters

The next tutorial is Sed special characters.

This tutorial explains Print command.

Also, how to usespecial characters such as

  • $ (dollar)
  • ^ (caret)
  • = (equal to)
  • &(ampersand)

in the Sed command.

Show Sed special characters tutorial. Here is a glimpse of the tutorial.
Slide 10:

Sed commands with Files

The next tutorial is Sed commands with Files.

Here we will learn how to use

  • Delete command
  • Write command
  • Read command
  • Append command
  • Insert command
  • Change command
  • Execute command

Show Sed commands with Files tutorial.

Here is a glimpse of the tutorial.
Slide 11:

More on Sed commands

The next tutorial is More on Sed commands.

Here, we will learn to use

  • e command
  • -f flag, -e flag
  • Transform flag y and
  • Sed substitute command with
    • Escaping character and
    • Delimiter
ShowMore on Sed commands tutorial. Let's have a look at this tutorial.
The next tutorial is Advanced Sed Command.
Slide 12:

Advanced Sed Command

Here we will learn how sed commands can be used by
  • Programmers and
  • System Administrators
Show Advanced Sed Commandtutorial. Here is a glimpse of the tutorial.
This brings us to the end of this tutorial. Let us summarise.
Slide 13:

Summary

In this tutorial, we learnt about
  • Sed
  • Features of Sed commands and
  • The content available in various tutorials under this series.
Slide 14:

About Spoken Tutorial project:

The video at the following link summarises the Spoken Tutorial project.

Please download and watch it.

Slide 15:

Spoken Tutorial workshops

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Slide 16:

Forum for specific questions

  • Do you have questions in THIS Spoken Tutorial?
  • Please visit this site
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • Someone from our team will answer them
Slide 17:

Forum for specific questions:

  • The Spoken Tutorial forum is for specific questions on this tutorial
  • Please do not post unrelated and general questions on them
  • This will help reduce the clutter
  • With less clutter, we can use these discussion as instructional material
Slide 18:

Acknowledgement

Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India.
This is Neha Solanki from IIT Bombay signing off.

Thanks for joining.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat