亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sed.txt

?? linux下的命令
?? TXT
?? 第 1 頁 / 共 4 頁
字號:
three cases:



1) To edit files too large for comfortable interactive editing;

2) To edit any size file when the sequence of editing commands is

     too complicated to be comfortably typed in interactive mode.

3) To perform multiple  `global' editing functions efficiently in

     one pass through the input.



     This memorandum constitutes a manual for users of sed.



Introduction



     Sed  is  a non-interactive  context  editor  designed to  be

     especially useful in three cases:



1) To edit files too large for comfortable interactive editing;

2) To edit any size file when the sequence of editing commands is

     too complicated to be comfortably typed in interactive mode;

3) To perform multiple  `global' editing functions efficiently in

     one pass through the input.



     Since only  a few lines of  the input reside in  core at one

     time, and no temporary files are used, the effective size of

     file that can  be edited is limited only  by the requirement

     that the input and  output fit simultaneously into available

     secondary storage.



     Complicated  editing scripts can  be created  separately and

     given to  sed as  a command file.   For complex  edits, this

     saves  considerable typing, and  its attendant  errors.  Sed

     running from a command file  is much more efficient than any

     interactive editor known to  the author, even if that editor

     can be driven by a pre-written script.



     The principal  loss of functions compared  to an interactive

     editor  are  lack of  relative  addressing  (because of  the

     line-at-a-time    operation),   and   lack    of   immediate

     verification that a command has done what was intended.



     Sed is a lineal descendant  of the UNIX editor, ed.  Because

     of the  differences between interactive  and non-interactive

     operation,  considerable changes have  been made  between ed

     and  sed; even  confirmed  users of  ed  will frequently  be

     surprised (and  probably chagrined), if they  rashly use sed

     without reading Sections 2 and 3 of this document.  The most

     striking family  resemblance between  the two editors  is in

     the   class  of   patterns   (`regular  expressions')   they

     recognize; the  code for matching patterns  is copied almost

     verbatim  from  the code  for  ed,  and  the description  of

     regular expressions  in Section 2 is  copied almost verbatim

     from  the  UNIX   Programmer's  Manual[1].  (Both  code  and

     description were written by Dennis M. Ritchie.)



1. Overall Operation



     Sed  by default copies  the standard  input to  the standard

     output, perhaps  performing one or more  editing commands on

     each line  before writing it  to the output.   This behavior

     may be  modified by flags  on the command line;  see Section

     1.1 below.



     The general format of an editing command is:



               [address1,address2][function][arguments]



One or both addresses may  be omitted; the format of addresses is

given in  Section 2.  Any number  of blanks or  tabs may separate

the addresses  from the function.  The function  must be present;

the available commands are discussed in Section 3.  The arguments

may  be required  or  optional, according  to  which function  is

given;  again,  they  are  discussed  in  Section  3  under  each

individual function.



     Tab  characters and  spaces at  the beginning  of  lines are

     ignored.



1.1. Command-line Flags



     Three flags are recognized on the command line:

          -n:

               tells sed  not to copy  all lines, but  only those

               specified  by  p  functions  or p  flags  after  s

               functions (see Section 3.3);

          -e:

               tells sed to take  the next argument as an editing

               command;

          -f:

               tells  sed to  take the  next argument  as  a file

               name;  the file  should contain  editing commands,

               one to a line.



1.2. Order of Application of Editing Commands



     Before any editing  is done (in fact, before  any input file

     is even opened), all  the editing commands are compiled into

     a  form  which  will  be  moderately  efficient  during  the

     execution phase  (when the commands are  actually applied to

     lines of the input file).   The commands are compiled in the

     order in  which they are encountered; this  is generally the

     order  in which they  will be  attempted at  execution time.

     The commands  are applied one at  a time; the  input to each

     command is the output of all preceding commands.



     The default linear order  of application of editing commands

     can be changed by the flow-of-control commands, t and b (see

     Section 3).   Even when the order of  application is changed

     by these commands,  it is still true that  the input line to

     any command is the output of any previously applied command.



1.3.  Pattern-space



     The range  of pattern matches  is called the  pattern space.

     Ordinarily, the pattern space is one line of the input text,

     but more than one line can be read into the pattern space by

     using the N command (Section 3.6.).



1.4. Examples



     Examples  are scattered throughout  the text.   Except where

     otherwise noted, the examples all assume the following input

     text:



          In Xanadu did Kubla Khan

          A stately pleasure dome decree:

          Where Alph, the sacred river, ran

          Through caverns measureless to man

          Down to a sunless sea.



     (In  no  case  is the  output  of  the  sed commands  to  be

     considered an improvement on Coleridge.)



Example:



     The command



     2q



     will quit  after copying the  first two lines of  the input.

     The output will be:



          In Xanadu did Kubla Khan

          A stately pleasure dome decree:



2. ADDRESSES: Selecting lines for editing



     Lines in the input file(s)  to which editing commands are to

     be applied  can be selected by addresses.   Addresses may be

     either line numbers or context addresses.



     The application of a group  of commands can be controlled by

     one address (or address-pair)  by grouping the commands with

     curly braces (`{ }')(Sec. 3.6.).



2.1. Line-number Addresses



     A line  number is a decimal  integer.  As each  line is read

     from  the input,  a  line-number counter  is incremented;  a

     line-number address  matches (selects) the  input line which

     causes   the   internal  counter   to   equal  the   address

     line-number.  The counter runs cumulatively through multiple

     input  files; it  is  not reset  when  a new  input file  is

     opened.



     As a special case, the  character $ matches the last line of

     the last input file.



2.2. Context Addresses



     A  context  address  is  a  pattern  (`regular  expression')

     enclosed   in  slashes   (`/').   The   regular  expressions

     recognized by sed are constructed as follows:



1) An ordinary character (not one  of those discussed below) is a

     regular expression, and matches that character.



2) A  circumflex `^'  at the  beginning of  a  regular expression

     matches the null character at the beginning of a line.

3) A dollar-sign `$'  at the end of a  regular expression matches

     the null character at the end of a line.

4) The characters  `\n' match an imbedded  newline character, but

     not the newline at the end of the pattern space.

5) A period `.' matches any character except the terminal newline

     of the pattern space.

6) A regular  expression followed by an asterisk  `*' matches any

     number   (including  0)  of  adjacent   occurrences   of the

     regular expression it follows.

7) A string  of characters in  square brackets `[ ]'  matches any

     character in the  string,  and no others.  If,  however, the

     first character of the string is circumflex `^', the regular

     expression  matches any character  except the  characters in

     the string and the terminal newline of the pattern space.

8) A concatenation of regular expressions is a regular expression

     which  matches  the  concatenation  of  strings  matched  by

     the components of the regular expression.

9) A regular  expression between the  sequences `\(' and  `\)' is

     identical  in effect to   the unadorned  regular expression,

     but  has  side-effects which   are  described  under  the  s

     command  below and specification 10) immediately below.

10) The  expression  `\d' means  the  same  string of  characters

     matched by  an expression enclosed in `\('  and `\)' earlier

     in the same pattern.  Here  d is  a single digit; the string

     specified is that beginning with the dth  occurrence of `\('

     counting  from  the  left.    For example,   the  expression

     `^\(.*\)\1'  matches   a line  beginning  with two  repeated

     occurrences of the same string.

11) The null  regular expression  standing alone (e.g.,  `//') is

     equivalent to the  last regular expression compiled.



     To use one of the special characters (^  $ . * [ ] \ /) as a

     literal  (to match an  occurrence of  itself in  the input),

     precede the special character by a backslash `\'.



     For a context address to `match' the input requires that the

     whole pattern  within the address match some  portion of the

     pattern space.



2.3. Number of Addresses



     The  commands  in the  next  section can  have  0,  1, or  2

     addresses.  Under each command the maximum number of allowed

     addresses is  given.  For a  command to have  more addresses

     than the maximum allowed is considered an error.



     If a command  has no addresses, it is  applied to every line

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产一区| 成人国产精品免费网站| 在线91免费看| 日韩精品乱码av一区二区| 欧美色电影在线| 日韩激情视频网站| 久久久精品欧美丰满| eeuss鲁片一区二区三区| 亚洲欧美日韩国产中文在线| 91精品福利视频| 亚洲综合偷拍欧美一区色| 欧美日韩国产天堂| 精品一区二区久久久| 久久色在线观看| 92国产精品观看| 亚洲国产精品久久艾草纯爱| 日韩欧美不卡在线观看视频| 国产精品69毛片高清亚洲| 亚洲色图.com| 欧美一级午夜免费电影| 国产精品资源在线看| 亚洲人成在线播放网站岛国| 制服丝袜成人动漫| 国产成a人亚洲精品| 亚洲综合另类小说| 久久久久国产精品麻豆| 色老汉一区二区三区| 免费观看在线色综合| 亚洲欧洲三级电影| 欧美一级精品大片| 成a人片国产精品| 免费人成精品欧美精品| 国产精品久久久久久久久久久免费看| 欧美日韩一区二区三区在线看| 久草精品在线观看| 亚洲一区二区三区四区不卡| 久久精品视频在线看| 色域天天综合网| 国产真实乱偷精品视频免| 亚洲欧美日韩在线| 久久久不卡网国产精品二区| 91成人看片片| 国产成人精品影院| 美国毛片一区二区三区| 伊人一区二区三区| 国产精品美女一区二区在线观看| 精品视频在线看| 91热门视频在线观看| 国产精品亚洲一区二区三区妖精| 午夜久久久久久电影| 亚洲欧洲精品一区二区精品久久久| 日韩视频在线你懂得| 欧美伊人精品成人久久综合97| 国产成a人亚洲精| 美洲天堂一区二卡三卡四卡视频| 亚洲国产综合人成综合网站| 日本一区二区视频在线观看| 日韩欧美一级在线播放| 在线观看区一区二| 色婷婷综合久久久中文一区二区| 国产福利一区在线| 国产一区二区免费看| 久久国产尿小便嘘嘘尿| 日韩高清在线电影| 午夜视频一区二区三区| 亚洲综合色在线| 亚洲精品网站在线观看| ●精品国产综合乱码久久久久| 国产日韩欧美精品综合| 精品久久久久久久久久久久包黑料 | 色综合天天做天天爱| 高清成人在线观看| 丁香婷婷综合色啪| 成人午夜免费av| 99这里只有久久精品视频| 不卡的av在线播放| 91在线免费看| 日本乱码高清不卡字幕| 色综合久久综合网97色综合| 99re6这里只有精品视频在线观看| 国产98色在线|日韩| 高清在线成人网| 99精品视频在线观看免费| 91网站在线播放| 欧美在线观看视频一区二区| 在线观看免费视频综合| 欧美精品日韩一区| 日韩欧美久久一区| 国产日韩在线不卡| 最新高清无码专区| 一级精品视频在线观看宜春院| 一区二区视频在线| 肉丝袜脚交视频一区二区| 九色|91porny| 国产91清纯白嫩初高中在线观看 | 午夜激情久久久| 人人精品人人爱| 国产一区二区0| 成人中文字幕合集| 91久久国产最好的精华液| 欧美日韩国产综合草草| 亚洲精品一区二区三区影院 | 亚洲欧洲国产日本综合| 一区二区三区在线看| 日韩在线卡一卡二| 国产一区二区0| 色偷偷久久一区二区三区| 欧美丰满少妇xxxxx高潮对白| 日韩一级黄色大片| 国产精品久久久久影视| 亚洲第一成年网| 国产99久久久精品| 欧美日韩电影在线播放| 久久噜噜亚洲综合| 亚洲国产cao| 国产美女视频一区| 在线精品视频一区二区三四| 欧美videos大乳护士334| 中文字幕在线一区| 男男成人高潮片免费网站| 99久久精品免费看| 欧美一级欧美一级在线播放| 国产精品天美传媒| 日本不卡视频一二三区| www.一区二区| 日韩视频在线永久播放| 亚洲欧美一区二区三区国产精品| 奇米影视在线99精品| 99国产精品国产精品久久| 欧美一区二区三区在线视频| 亚洲免费在线视频| 国产乱人伦偷精品视频免下载| 99re66热这里只有精品3直播| 欧美tickling挠脚心丨vk| 亚洲精品成人悠悠色影视| 国产精品一区专区| 欧美日韩亚洲综合在线 | 国产毛片精品视频| 欧美三级日韩在线| 亚洲欧洲日本在线| 国产精品99久久久久久似苏梦涵| 欧美日韩不卡一区| 亚洲欧美激情插| 懂色av一区二区三区免费观看| 欧美美女一区二区在线观看| 中文字幕中文字幕在线一区| 国产精品资源网站| 欧美成人一区二区三区在线观看 | 色视频欧美一区二区三区| 欧美韩日一区二区三区四区| 激情成人综合网| 91精品国产欧美一区二区18| 一区二区免费在线播放| 91亚洲永久精品| 国产精品免费av| 成人精品国产免费网站| 国产婷婷色一区二区三区 | 国产精品区一区二区三区| 极品尤物av久久免费看| 3d动漫精品啪啪1区2区免费| 午夜精品一区二区三区免费视频| 99re这里只有精品视频首页| 欧美高清在线一区| 国产91精品精华液一区二区三区 | 韩国精品一区二区| 欧美一级国产精品| 蜜桃视频免费观看一区| 日韩一区二区中文字幕| 欧美aⅴ一区二区三区视频| 欧美一区二区三区性视频| 日本aⅴ精品一区二区三区| 欧美精品亚洲一区二区在线播放| 亚洲国产中文字幕在线视频综合| 欧美午夜不卡在线观看免费| 亚洲自拍偷拍av| 4438x成人网最大色成网站| 首页欧美精品中文字幕| 日韩无一区二区| 国产黄色91视频| 国产精品久久久爽爽爽麻豆色哟哟| 丰满白嫩尤物一区二区| 亚洲手机成人高清视频| 91激情五月电影| 日韩在线一二三区| 欧美精品一区二区三区高清aⅴ| 国产福利一区二区| 亚洲三级视频在线观看| 在线视频观看一区| 青青草原综合久久大伊人精品优势| 欧美一区二区观看视频| 国产一区二区剧情av在线| 最新不卡av在线| 911国产精品| 国产不卡在线播放| 亚洲激情自拍视频| 91精品国产全国免费观看| 国产一本一道久久香蕉| 亚洲色图欧美偷拍| 欧美电视剧免费全集观看| 成人毛片视频在线观看|