From 827c5e557ca64b2cf1018a1fb872630baf306968 Mon Sep 17 00:00:00 2001 From: Anton Titovets Date: Wed, 18 Dec 2024 10:18:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=BE=20=D1=83=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D1=8F=D1=8E=D1=89=D0=B8=D0=BC=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BE=D0=B2=D0=B0=D1=82=D0=B5?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D1=8F=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/md/Start/CLI_version.md | 10 ++++++++++ docs/ru/md/Start/CLI_version.md | 10 ++++++++++ service/dictionaries/en.json | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/en/md/Start/CLI_version.md b/docs/en/md/Start/CLI_version.md index e996231c4a..892a876080 100644 --- a/docs/en/md/Start/CLI_version.md +++ b/docs/en/md/Start/CLI_version.md @@ -39,4 +39,14 @@ After executing the requested action, the program outputs the result and exits. ![demo](./img/3.gif) +## Escape sequences + +The standard escape sequences `\n`, `\r`, `\v`, and `\f` may be used in the passed parameters. These are converted to line breaks, carriage returns, vertical tabs, and form feeds, respectively, in all arguments, except: + ++ Array parameters and JSON-formatted parameters (i.e., those beginning with `{` or `[`) ++ File paths, if a file on that path exists ++ Standard `--out` parameter + +
+ You can find all further information you might need for work in other sections of this documentation, as well as in the built-in help of OInt CLI diff --git a/docs/ru/md/Start/CLI_version.md b/docs/ru/md/Start/CLI_version.md index 1bc6cd577a..26798d67b6 100644 --- a/docs/ru/md/Start/CLI_version.md +++ b/docs/ru/md/Start/CLI_version.md @@ -39,4 +39,14 @@ sidebar_position: 2 ![demo](./img/3.gif) +## Управвляющие последовательности + +В передаваемых параметрах допустимо использование стандартных управляющих последовательностей: `\n`, `\r`, `\v` и `\f`. Они преобразуются в символы переноса строки, возврата каретки, вертикальной табуляции и перевода формы соответствеено, во всех аргументах, за исключением: + ++ Параметров-массивов и параметров в формате JSON (т.е. начинающихся с `{` или `[`) ++ Путей к файлам, если файл по этому пути существует ++ Стандартного параметра `--out` + +
+ Всю дальнейшую информацию, которая может понадобиться вам для работы, вы сможете найти в других разделах данной документации, а также во встроенной справке OInt CLI diff --git a/service/dictionaries/en.json b/service/dictionaries/en.json index 589fb7796f..180933298d 100644 --- a/service/dictionaries/en.json +++ b/service/dictionaries/en.json @@ -6623,7 +6623,7 @@ "Фильтр офисов. См. ПолучитьОписаниеФильтраОфисов": "Office filter. See GetOfficeFilterDescription", "Telegram_ОчиститьСписокЗакрепленныхСообщенийТемы": "Telegram_ClearPinnedMessagesList", "Забрать токен из параметра URL в адресной строке": "Retrieve the token from the URL parameter in the address bar", -"ТребуетсяОбработкаУправляющихПоследовательностей": "RequiresProcessingOfControlSequences", +"ТребуетсяОбработкаУправляющихПоследовательностей": "RequiresProcessingOfEscapeSequences", "Вид обработки текста (HTML, Markdown, MarkdownV2": "Text processing type (HTML, Markdown, MarkdownV2", "Вы можете передать до 100 идентификаторов за раз": "You can pass up to 100 identifiers at a time", "Сформируйте ссылку и перейдите по ней в браузере": "Form a link and click on it in your browser",