⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sed.1

📁 Unix操作系统minix 2.0源码
💻 1
字号:


SED(1)                    Minix Programmer's Manual                     SED(1)


NAME
     sed - stream editor

SYNOPSIS
     sed [-egn] [-f script_file] [edit_script] [file]

OPTIONS

     -e   Accept multiple commands commands on the commands line

     -f   The following argument contains the edit script

     -g   Set the global flag on all substitute commands

     -n   Only output selected lines

EXAMPLES

     sed -f script <file # Run a sed script on file

     sed '/pig/s//hog/g' <file
                         # Replace pig by hog in the file

DESCRIPTION

     Sed is a stream editor.  It takes an edit script either from its argument
     or  a  file,  and  performs  an  edit  session  on a named file or stdin,
     producing output on stdout.

SEE ALSO
     cgrep(1), fgrep(1), grep(1), awk(9).





















                                                                             1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -