mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
Merge pull request #466 from flouthoc/master
This commit is contained in:
commit
08d9c7f342
12
pages/linux/compose.md
Normal file
12
pages/linux/compose.md
Normal file
@ -0,0 +1,12 @@
|
||||
# compose
|
||||
|
||||
> An alias to a `run-mailcap`'s action compose.
|
||||
> Originally `run-mailcap` is used to mime-type/file.
|
||||
|
||||
- Compose action can be used to compose any existing file or new on default mailcap edit tool:
|
||||
|
||||
`compose {{filename}}`
|
||||
|
||||
- With `run-mailcap`:
|
||||
|
||||
`run-mailcap --action=compose {{filename}}`
|
12
pages/linux/edit.md
Normal file
12
pages/linux/edit.md
Normal file
@ -0,0 +1,12 @@
|
||||
# edit
|
||||
|
||||
> An alias to a `run-mailcap`'s action edit.
|
||||
> Originally `run-mailcap` is used to process/edit mime-type/file.
|
||||
|
||||
- Edit action can be used to view any file on default mailcap explorer:
|
||||
|
||||
`edit {{filename}}`
|
||||
|
||||
- With `run-mailcap`:
|
||||
|
||||
`run-mailcap --action=edit {{filename}}`
|
12
pages/linux/print.md
Normal file
12
pages/linux/print.md
Normal file
@ -0,0 +1,12 @@
|
||||
# print
|
||||
|
||||
> An alias to a `run-mailcap`'s action print.
|
||||
> Originally `run-mailcap` is used to process mime-type/file.
|
||||
|
||||
- Print action can be used to print any file on default run-mailcap tool:
|
||||
|
||||
`print {{filename}}`
|
||||
|
||||
- With `run-mailcap`:
|
||||
|
||||
`run-mailcap --action=print {{filename}}`
|
24
pages/linux/run-mailcap.md
Normal file
24
pages/linux/run-mailcap.md
Normal file
@ -0,0 +1,24 @@
|
||||
# run-mailcap
|
||||
|
||||
> Run MailCap Programs.
|
||||
> Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file.
|
||||
|
||||
- Individual actions/programs on run-mailcap can be invoked with action flag:
|
||||
|
||||
`run-mailcap --action=ACTION [--option[=value]]`
|
||||
|
||||
- In simple language:
|
||||
|
||||
`run-mailcap --action=ACTION {{filename}}`
|
||||
|
||||
- Turn on extra information:
|
||||
|
||||
`run-mailcap --action=ACTION --debug {{filename}}`
|
||||
|
||||
- Ignore any "copiousoutput" directive and forward output to STD‐OUT:
|
||||
|
||||
`run-mailcap --action=ACTION --nopager {{filename}}`
|
||||
|
||||
- Display the found command without actually executing it:
|
||||
|
||||
`run-mailcap --action=ACTION --norun {{filename}}`
|
12
pages/linux/see.md
Normal file
12
pages/linux/see.md
Normal file
@ -0,0 +1,12 @@
|
||||
# see
|
||||
|
||||
> Alias to `run-mailcap`'s view.
|
||||
> An alias to a `run-mailcap`'s action print.
|
||||
|
||||
- See action can be used to view any file (usually image) on default mailcap explorer:
|
||||
|
||||
`see {{filename}}`
|
||||
|
||||
- Using with `run-mailcap`:
|
||||
|
||||
`run-mailcap --action=view {{filename}}`
|
Loading…
Reference in New Issue
Block a user