update readme to remove 'upd' command

This commit is contained in:
xdrm-brackets 2018-11-11 19:06:00 +01:00
parent 235e30aeb7
commit 76cc1eec53
1 changed files with 3 additions and 8 deletions

View File

@ -39,11 +39,6 @@ ins <packages>
``` ```
Install the listed packages. If more than one, use spaces to separate package names. Install the listed packages. If more than one, use spaces to separate package names.
```
upd
```
Update/upgrade your system.
``` ```
del <packages> del <packages>
``` ```
@ -98,12 +93,12 @@ Execute the \<script\> file.
### II. Path Expressions ### II. Path Expressions
The syntax is pretty fast-forward, it uses 3 levels to find your configuration line : `[location]@[field.path]`. The syntax is pretty fast-forward, it uses 2 levels (file, fields) to find your configuration line : `location/path@field.path`.
| Field | Description | Example | | Field | Description | Example |
| --------- | :----------------------------------- | -------------------------- | | --------- | :----------------------------------- | -------------------------- |
| `location` | Path to the configuration file to edit. The file will be created if not found. | `/etc/ssh/sshd_config`, `/etc/nginx/nginx.conf`, `/etc/nginx/sites-available/default` | | `location/path` | Path to the configuration file to edit. The file will be created if not found. | `/etc/ssh/sshd_config`, `/etc/nginx/nginx.conf`, `/etc/nginx/sites-available/default` |
| `field.path` | Dot-separated chain of strings that match with a configuration field. If **omitted**, the \<value\> will just be added at the end of the configuration file. In the same way if the field does not point to a raw field but a parent or group containing fields, the \<value\> will be added to the group. | `/etc/ssh/sshd_config@AllowGroups`, `/etc/nginx/nginx.conf@http.gzip` | | `field.path` | Dot-separated chain of strings that match a configuration field. If **omitted**, the \<value\> will just be added at the end of the configuration file. In the same way if the field does not point to a raw field but a parent or group containing fields, the \<value\> will be added to the group. | `/etc/ssh/sshd_config@AllowGroups`, `/etc/nginx/nginx.conf@http.gzip` |
> When a file is given as \<content\>, the `cnf` command acts as the shell command `mv` (copy). > When a file is given as \<content\>, the `cnf` command acts as the shell command `mv` (copy).