AMD LE-363 User's Betriebsanweisung Seite 380

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 436
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
...
Seitenansicht 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 435 436

Kommentare zu diesen Handbüchern

Keine Kommentare