SED(1) >>>>> SED(1)
>>
sed - >>>>>>>>>>>>>>>
>>
sed [>>]... {script-only-if-no-other-script} [>>>>]...
>>
Sed>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>ed>>sed>>>
>>>>>>>>>>>>>>>>>>>>>>sed>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
-n, --quiet, --silent
>>>>>>>>>>>>
-e >>>, --expression=>>>
>>>>>>>>>>>>>
-f >>>>>, --file=>>>>>
>>>>>>>>>>>>>>>>>>
--follow-symlinks
>>>>>>>>>>>>
-i[SUFFIX], --in-place[=SUFFIX]
>>>>>>>>>>>>>>SUFFIX>>>>>>>>>
-l N, --line-length=N
>>'l'>>>>>>>>>>>
--posix
>>>>GNU>>>
-E, -r, --regexp-extended
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>POSIX>-E>
-s, --separate
>>>>>>>>>>>>>>>>>>>>>>>
--sandbox
>>>>>>>>>
-u, --unbuffered
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-z, --null-data
>NUL>>>>>
--help >>>>>>>>>
--version
>>>>>>>>>
>>>>>>-e>--expression>-f>>>--file>>>
>>>>>>>>>>>>>>sed>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
GNU
sed>>>>>>GNU>>>>>>>
>>Bug>>>>>>>>>>>>
>>>>
>>>>>>>>sed>>>>>>>>>>texinfo>>>>>>>>>>>>
>>>>>>>sed>>>>>>>>
>>>">>"
: label
b > t >>>>>>
#comment
>>>>>>>>>>>> (>>>> -e
>>>>>>>>>>
} >>{ }>>>>>>
>>>>>>>
= >>>>>>>>>
a \
text >> text,
text>>>>>>>>>>>>>>>>>
i \
text >> text,
text>>>>>>>>>>>>>>>>>
q [exit-code]
>>>>sed>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>[exit-
code]>GNU>>>>>>>>>
Q [exit-code]
>>>>sed>>>>>>>>>>>>>>>>GNU>>>
r >>
> >> >>>>>>>>>>>
R >>
> >>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>GNU>>>
>>>>>>>>>
{ >>>>>>>>>>>}>>>>
b label
>>>>>label>;>>label>>>>>>>>>>>>>
c \
text > text >>>>>>, text
>>>>>>>>>>>>>>>>>
d >>>>>>> >>>>>>>>
D >>>>>>>>>>>>d>>>>>>>>>>>>>>>>>>>>
>>>>>>>>text>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>
h H >>/>>>>>>>>>>>>
g G >>/>>>>>>>>>>>>
l >">>>>">>>>>>>>>
l width
>">>>>">>>>>>>>>>width>>>>>>>>>>GNU>>>
n N >>/>>>>>>>>>>>>>
p >>>>>>>>>>
P >>>>>>>>>>>>>>>>>>>>>>>
s/regexp/replacement/
>>>>>>>>>regexp>>>>>>>replacement>>>>>>>
>replacement>>>>>>>>&>>>>>>>>>>>>>>>>>
>>\1>\9>>>regexp>>>>>>>>>>>
t label
>>>>>>>>>>>>>>>>>t>>T>>>>>>>>>s///>
>>>>>>>>>>label>;>>label>>>>>>>>>>>>>
T label
>>>>>>>>>>>>>>>>>t>>T>>>>>>>>>s///>
>>>>>>>>>>label>;>>label>>>>>>>>>>>>>>>
>>GNU>>>
w filename
>>>>>>>>>>>filename>>
W filename
>>>>>>>>>>>>>filename>>>>>>GNU>>>
x >>>>>>>>>>>>>>>
y/source/dest/
>>>>>>>>>source>>>>dest>>>>>>
>>
Sed>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>addr1 ,
addr2>>>>>>>>>>>>>>
addr1>>>>>>>>>>>>>addr2>>>>>>>>>>>>>>addr2>
>>regexp>>>>>>>>>>>>>>>>addr>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>!>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
number >>>>>>number>>>>>>-s>>>>>>>>>>>number>>
>>>>>>>>>>
first~step
>>>>>>step>>>first>>>>>>>>>>``sed
-n 1~2p''>
>>>>>>>>>>>>>>>2~5>>>>>2>>>>>>5>>>>
>>first>>>>>>>>sed>>>step>>>>>>>>>>>>>
$ >>>>>>>
/regexp/
>>>>>>>>>regexp>>>
\cregexpc
>>>>>>>>>regexp>>>
>>c>>>>>>>>
GNUsed>>>>>>>>2>>>>>
0,addr2
>">>>>>>>>">>>>>>>>addr2>>>1,
addr2>>>> >>>addr2>>>>>>>>>>0,
addr2>>>>>>>>>>>> 1,
addr2>>>>>>>>>>>>>>>>>>>addr2>>>>>>
>>>>>>>>
addr1,+N
>>>> addr1 >> addr1 >>> N >>
addr1,~N
>>>> addr1 > addr1 >>>>>>>> N
>>>>>>
>>>>>
POSIX.2
BREs>>>>>>>>>>>>>>>>>>>>>>>>>>>>
\n>>>>>>>>\a>\t>>>>>>>>>>>-E>>>>>>>>>>>>>>>>>>
>>>>-E>>>>>GNU
sed>>>>>>>>>>>>POSIX>>
BUGS
>>>>>>>>>bug-
sed@gnu.org>>>>>>>>>>>>>>> ``sed
--version''>>>>
>>
> Jay Fenlason, Tom Lord, Ken Pizzini, > Paolo Bonzini>>> GNU
sed >>: . >> GNU
>>>>>>>>: . E-mail bug
>>>: .
>>
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU
GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>>
awk(1), ed(1), grep(1), tr(1), perlre(1), sed.info,
>>>sed>>>>>>
sed>>>>(http://sed.sf.net/grabbag/tutorials/sedfaq.txt)>
http://sed.sf.net/grabbag/>
sed
>>>>>>>>Texinfo>>>>>>>>info>sed>>>>>>>>
>>>>
info sed
>>>>>>>>>>>
>
>>>>>>>>> man >>>>>>>>
>>>>>Means Lee
>>>>>2017-05-15
>>>>>sed
>> man >>>>>>https://github.com/man-pages-zh/manpages-
zh
sed 4.4 2017>2> SED(1)