Image of a hub, © Paul Watson, CC  BY-NC-SA 2.0 The Linguistic Teaching resources Hub
Image © Paul Watson, Licence CC BY-NC-SA 2.0

Handy one-liners for sed

* Eric Pement *

Keywords: sed

http://www.linuxhowtos.org/System/sedoneliner.htm

Ths is a nice collection of one-line sed scripts to achieve tasks like line spacing in a file, numbering lines in a file, quoting and unquoting (like in emails), selective printing of lines (like grep), printing the first n lines (like head -n), printing the last n lines (like tail -n), or converting text files from UNIX to DOS and vice versa.

Feedback

Sorry, there is no feedback available. Be the first one to provide feedback!

Resource details

Institution:
Year of publication: 2005
Language: english
Type: Howto
Audience: Programmers
Level: advanced
Prerequisites:
Media: text/html
Objective:
Licence:
Access: open
Creation date: Friday, 16 January 2015 14:38:39
Last modified: Saturday, 13 April 2024 15:43:29
BibTeX type: @misc
BibTeX entry:
@misc(TeLeMaCo:328,
author = "Pement, Eric",
title = "{H}andy one-liners for sed",
year = "2005",
url = "http://www.linuxhowtos.org/System/sedoneliner.htm"
)

Helpdesk Button