?? ex.1
字號:
.TH ex 1.SH Nameex, edit \- text editor.SH Syntax.B ex[.B \-] [.B \-v] [.B \-x] [.B \-t tag] [.B \-r] [\fB\+\fIcommand\fR] [.B \-l]\fIname\fR....br.B edit[ex options].SH Description.NXR "editors" "ex".NXR "editors" "edit".NXR "encryption" "ex editor".NXR "ex editor"The.PN exeditor is the root of a family of editors:.PN edit ,.PN exand.PN vi .The.PN exeditor is a superset of.PN ed ,with the most notable extension being a display-editing facility.Display-based editing is the focus of.PN vi ..PPThe .I name argument indicates the files to be edited..SH Options.IP \- 5Suppresses all interactive-user feedback.This option is useful in processing editor scripts in commandfiles..IP \-vEquivalent to using .PN virather than .PN ex ..IP \-tEquivalent to an initial .I tag command, that is,editing the file containing the.I tagand positioning the editor at its definition..IP \-rUsed to recover after an editor or system crash.It recovers by retrieving the last saved version of the named.I file.If no.I fileis specified, it displays a list of saved files..IP \-RSets the read-only option at the start..IP +\fIcommand\fRIndicates that the editor should beginby executing the specified command. If the commandis omitted, it defaults to .B $, positioning the editor at the last line of the first file, initially.Other useful commands here are scanning patterns of the form.B +/\fIpattern\fRor line numbers..IP \-lSets up for LISP.That is, it sets the.I showmatch and .I lispoptions..NTThe .B \-xoption is available only if the Encryption layered product is installed..NE.IP \-x 5Causes .PN exto prompt for a key. The key is used to encrypt and decrypt the contents of the file. If the file contents have been encrypted with one key, you must use the same key to decrypt them..SH RestrictionsThe.PN undocommand causes all marks to be lost on lines changed and then restoredif the marked lines were changed..PPThe.PN undocommand does not clear the buffer modified condition..PPThe.I zcommand prints a number of logical rather than physical lines.More than a screenful of output may result if long lines are present..PPFile input/output errors do not print a name if the command line minus sign (\fB\-\fR)option is used..PPThere is no easy way to do a single scan ignoring case..PPThe editor does not warn you if you place text in named buffers and do not use itbefore exiting the editor..PPNull characters are discarded from input files, and cannot appear in outputfiles..SH Files.DT/usr/lib/ex?.?recover recover command.br/usr/lib/ex?.?preserve preserve command.br/etc/termcap terminal capabilities .br~/.exrc editor startup file.br/tmp/Ex\fInnnnn\fR editor temporary.br/tmp/Rx\fInnnnn\fR named buffer temporary.br/usr/preserve preservation directory.SH See Alsoawk(1), ed(1), grep(1), sed(1), vi(1), termcap(5), environ(7).br"Edit: A Tutorial"and the "Ex Reference Manual" in the.br\fISupplementary Documents, Volume 1: General User\fP
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -