From ab94523287bb132da2e96c376c2f5b08e7180488 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 16 Aug 2025 21:13:57 +0300 Subject: [PATCH] libreoffice: convert to alias, soffice: add page (#17698) Converted libreoffice.md to alias for soffice.md Co-authored-by: K.B.Dharun Krishna --- pages/common/libreoffice.md | 19 +++---------------- pages/common/soffice.md | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 pages/common/soffice.md diff --git a/pages/common/libreoffice.md b/pages/common/libreoffice.md index 7b9f056ecf..676018904d 100644 --- a/pages/common/libreoffice.md +++ b/pages/common/libreoffice.md @@ -1,20 +1,7 @@ # libreoffice -> CLI for the powerful and free office suite LibreOffice. -> More information: . +> This command is an alias of `soffice`. -- Open one or more files in read-only mode: +- View documentation for the original command: -`libreoffice --view {{path/to/file1 path/to/file2 ...}}` - -- Display the content of one or more files: - -`libreoffice --cat {{path/to/file1 path/to/file2 ...}}` - -- Print files using a specific printer: - -`libreoffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}` - -- Convert all `.doc` files in current directory to PDF: - -`libreoffice --convert-to pdf *.doc` +`tldr soffice` diff --git a/pages/common/soffice.md b/pages/common/soffice.md new file mode 100644 index 0000000000..51c7cb3622 --- /dev/null +++ b/pages/common/soffice.md @@ -0,0 +1,20 @@ +# soffice + +> CLI for the powerful and free LibreOffice suite. +> More information: . + +- Open one or more files in read-only mode: + +`soffice --view {{path/to/file1 path/to/file2 ...}}` + +- Display the content of one or more files: + +`soffice --cat {{path/to/file1 path/to/file2 ...}}` + +- Print files using a specific printer: + +`soffice --pt {{printer_name}} {{path/to/file1 path/to/file2 ...}}` + +- Convert all `.doc` files in the current directory to PDF: + +`soffice --convert-to pdf *.doc`