UNIX/LINUX Command – sed

March 1, 2019

Comments

Adsense

Adsense

Adsense

Adsense

NAME

sed—Stream-oriented editor

SYNOPSIS

sed [ -hnV ][-e script ][-f script-file ][–help ][–quiet ][–silent ][–version][–expression=script ][–file=script-file ][file … ]

DESCRIPTION

sed reads the specified files or the standard input if no files are specified, makes editing changes according to a list of commands, and writes the results to the standard output.

OPTIONS

Options Description
-h, –help Print a usage message on standard output and exit successfully.
-n, –quiet, –silent Suppress the default output. sed only displays lines explicitly specified for output with the p command or the p flag of the s command. The default behavior is to echo each line of input, after edits, to the standard output.
-V, –version Print the version number on the standard output and exit successfully.
-e script, –expression=script Append one or more commands specified in the string script to the list of commands. If there is just one -e option and no -f options, the -e flag may be omitted.
-f script-file, –file=script-file Append the editing commands from script-file to the list of commands.

Multiple -e and -f commands may be specified. Scripts are added to the list of commands to execute in the order specified, regardless of their origin.

Satish Kumar

Satish Kumar

I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Related Posts

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

1 × 3 =

News & Updates

Join Our Newsletter

Adsense

Adsense

Adsense

Adsense