Skip to main content

Learn about > linux sed examples

Search results

1-15 of 1,040 resultsView all results

Search result title:

Extracting text using sed and regular expressions (Linux/UNIX/AIX ...

Search result description:Sep 16, 2012 ... In this posting, I'll use an example scenario of needing to parse the free ... Here is
one way to parse out what we are looking for using a sed ...

Search result title:

Save time with text editing one-liners

Search result description:Jan 16, 2007 ... Fast editing examples using cat, ed, and sed ... Michael Stutz is author of The
Linux Cookbook, which he also designed and typeset using only ...

Search result title:

Bash by example, Part 3

Search result description:For our example, we will look at the "sed" package, a standard GNU text stream
editing utility that is part of all Linux distributions. First, download the source ...

Search result title:

Introduction to text manipulation on UNIX-based systems

Search result description:Mar 14, 2012 ... Example of grep - suppress filename in output: $ grep -h apple grocery.list
grocery.list2 apples dry apples. In many situations, a ...

Search result title:

Learn Linux, 101: Search text files using regular expressions

Search result description:Feb 18, 2013 ... You can also use the material in these articles to prepare for Linux Professional
.... Two of the examples illustrate the exit code from grep.

Search result title:

Script file edits with the "ed" editor (Brian Smith's AIX / UNIX / Linux ...

Search result description:Aug 19, 2012 ... Many systems such as Linux support the "sed" command with the "-i" flag that
specifies the file should be edited in place. Unfortunately systems ...

Search result title:

Learn Linux, 101: Text streams and filters

Search result description:Jan 26, 2010 ... You will also learn how to use the stream editor sed. In this article, you ... Another
example of a small filter is the tac command. The name is the ...

Search result title:

Know your regular expressions

Search result description:Jun 14, 2007 ... You can do that with several applications, including grep , sed , and Emacs. ...
The script shown in Listing 3, for example, works only when the ...

Search result title:

Common threads: Awk by example, Part 1

Search result description:Oct 11, 2013 ... 25 Nov 2013 - In response to reader comment, added link to Common threads:
Awk by example, Part 2: Records, loops, and arrays in ...

Search result title:

Bash by example, Part 1

Search result description:A good example is the vipw command, which normally allows root to edit the
system .... MYFILES=$(ls /etc | grep pa) bash-2.03$ echo $MYFILES pam.d
passwd ...

Search result title:

UNIX tips and tricks for a new user, Part 3: Introducing filters and ...

Search result description:May 12, 2006 ... In this tutorial, you'll learn about the grep family in depth, including the syntax ...
The objective of this tutorial is to make UNIX and Linux® users ...

Search result title:

Common threads: Awk by example, Part 3

Search result description:In this conclusion to the awk series, Daniel introduces you to awk's important
string functions, and then shows you how to write a complete checkbook-
balancing ...

Search result title:

Real world Linux

Search result description:Linux is alive and very well, doing real work in the real world. ... GNU sed 4.2.2
released, Maintainer Paolo Bonzini resigns ... Then one of my colleague wanted
to use the same command on his Linux machine so he asked me to copy and ...

Search result title:

Speaking UNIX, Part 9: Regular expressions

Search result description:Apr 17, 2007 ... For example, the command line: ls -A | wc -l , which counts the number of ... The
grep utility filters input line by line and looks for matches.

Search result title:

Passing multiple commands to Command Line Build RTC 4.0.4 with ...

Search result description:I have a command line build that works fine with a script, but I would like to ... So,
for this example I want to invoke sed on the script, for instance:


1-15 of 1,040 resultsView all results