AMD LE-363 User's Guía de usuario Pagina 380

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 436
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 379
354 XgOS User’s Guide September 2014
SEDIT Script Editor
The Script Editor (SEDIT) is a simple but powerful onboard text editor that runs
from within the CLI.
Syntax
You can use the following ways to start SEDIT and open a file:
Example: Redirect CLI Output to a File and
Editing the File
This example redirects (>) the output of show system to a file named “foo”, then
uses file edit <filename> to start the editor and open the file:
Command summary:
if (movetodir) {
var destname = dest + "/" + Filename.filename (file)
System.rename (file, destname)
} else {
System.rename (file, dest)
}
}
sedit <filename>
file edit <filename>
vi <filename>
show system > foo
sedit foo
^w write file (save)
^d quit editor
^f find regular expression
^g find next
^p for help
...
Vista de pagina 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 435 436

Comentarios a estos manuales

Sin comentarios