Bug 58591 - Команда cat <файл> не преобразуется автоматически в rtk read <файл>
Summary: Команда cat <файл> не преобразуется автоматически в rtk read <файл>
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rtk (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 minor
Assignee: Vladislav Glinkin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-07 19:36 MSK by Кожевников Владимир Сергеевич
Modified: 2026-04-08 09:12 MSK (History)
1 user (show)

See Also:


Attachments
Фактический результат (21.96 KB, image/png)
2026-04-07 19:36 MSK, Кожевников Владимир Сергеевич
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Кожевников Владимир Сергеевич 2026-04-07 19:36:04 MSK
Created attachment 21073 [details]
Фактический результат

Системы: 
ALT Workstation 11 x86_64 
ALT Workstation K 11 x86_64
ALT Education 11 KDE x86_64 
ALT Education 11 x86_64
ALT Server 11.0 minimal x86_64 

Предусловие:
1. Создать файл test.txt:
$cat > ~/test.txt <<EOF
hello world
//
hello world
EOF
2. Установить opencode: $ curl -fsSL https://opencode.ai/install | bash

Шаги для воспроизведения:
1. Установить rtk: # atp-get install rtk
2. Открыть opencode: $ opencode
3. Выполнить в opencode: cat ~/test.txt

Ожидаемый результат:
Команда переписывается в `rtk read /home/test/test.txt`, вывод сжат:
$ rtk read /home/test/test.txt
hello world
hello world

Реальный результат:
Команда выполнена как системная `cat`, переписывания не произошло.
Вывод:
hello world
//
hello world