This shows you the differences between two versions of the page.
| — |
gnucap:manual:commands:edit [2015/12/11 15:39] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== "edit" command ====== | ||
| + | |||
| + | ===== Purpose ===== | ||
| + | |||
| + | Use your editor to change the circuit. | ||
| + | |||
| + | ===== Syntax ===== | ||
| + | |||
| + | edit | ||
| + | edit file | ||
| + | |||
| + | ===== Comments ===== | ||
| + | |||
| + | The edit command runs your editor on a copy of the circuit in memory, then reloads it. | ||
| + | |||
| + | Edit file runs your editor on the specified file. | ||
| + | |||
| + | If you are only changing a component value, the modify command may be easier to use. | ||
| + | |||
| + | The program uses the EDITOR environment variable to find the editor to use. The command fails if there is no EDITOR defined. | ||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | edit | ||
| + | Brings up your editor on the circuit. | ||
| + | edit foo | ||
| + | Edits the file foo in your current directory. | ||