Skip to content

Commit ab94523

Browse files
Managorkbdharun
andauthored
libreoffice: convert to alias, soffice: add page (#17698)
Converted libreoffice.md to alias for soffice.md Co-authored-by: K.B.Dharun Krishna <[email protected]>
1 parent 2fe846f commit ab94523

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

pages/common/libreoffice.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
# libreoffice
22

3-
> CLI for the powerful and free office suite LibreOffice.
4-
> More information: <https://www.libreoffice.org/>.
3+
> This command is an alias of `soffice`.
54
6-
- Open one or more files in read-only mode:
5+
- View documentation for the original command:
76

8-
`libreoffice --view {{path/to/file1 path/to/file2 ...}}`
9-
10-
- Display the content of one or more files:
11-
12-
`libreoffice --cat {{path/to/file1 path/to/file2 ...}}`
13-
14-
- Print files using a specific printer:
15-
16-
`libreoffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}`
17-
18-
- Convert all `.doc` files in current directory to PDF:
19-
20-
`libreoffice --convert-to pdf *.doc`
7+
`tldr soffice`

pages/common/soffice.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# soffice
2+
3+
> CLI for the powerful and free LibreOffice suite.
4+
> More information: <https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html>.
5+
6+
- Open one or more files in read-only mode:
7+
8+
`soffice --view {{path/to/file1 path/to/file2 ...}}`
9+
10+
- Display the content of one or more files:
11+
12+
`soffice --cat {{path/to/file1 path/to/file2 ...}}`
13+
14+
- Print files using a specific printer:
15+
16+
`soffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}`
17+
18+
- Convert all `.doc` files in the current directory to PDF:
19+
20+
`soffice --convert-to pdf *.doc`

0 commit comments

Comments
 (0)