* [Comm] ispell
@ 2004-12-15 7:29 Aleksander N. Gorohovski
2004-12-15 10:56 ` Sergey Shilov
0 siblings, 1 reply; 3+ messages in thread
From: Aleksander N. Gorohovski @ 2004-12-15 7:29 UTC (permalink / raw)
To: community
Доброго времени суток сообщество!
Кто знает, можно ли в командной строке
в параметрах к ispell задавать не файл,
а проверяемое на орфографию конткретное слово?
А на выходе ispell возвращал бы признак 0 - нет ошибки, 1 - есть ошибка
в слове
Например,
$ ispell "абабагаламага"
1
p.s.
Зачем спрашиваю, хотел из программы на perl
фильтровать граматику текста в автономном режиме.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] ispell
2004-12-15 7:29 [Comm] ispell Aleksander N. Gorohovski
@ 2004-12-15 10:56 ` Sergey Shilov
2004-12-17 6:11 ` Aleksander N. Gorohovski
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Shilov @ 2004-12-15 10:56 UTC (permalink / raw)
To: community
В сообщении от 15 Декабрь 2004 09:29 Aleksander N. Gorohovski написал(a):
> Кто знает, можно ли в командной строке
> в параметрах к ispell задавать не файл,
> а проверяемое на орфографию конткретное слово?
Ispell и aspell могут работать в итерактивном режиме (читать стандартный ввод
и выдавать результат на стандартный вывод).
Т.е. можно поэкспериментировать с
echo "слово" | ispell -a
--
С уважением
Сергей Шилов
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] ispell
2004-12-15 10:56 ` Sergey Shilov
@ 2004-12-17 6:11 ` Aleksander N. Gorohovski
0 siblings, 0 replies; 3+ messages in thread
From: Aleksander N. Gorohovski @ 2004-12-17 6:11 UTC (permalink / raw)
To: community
On Wed, 15 Dec 2004 12:56:46 +0200, Sergey Shilov <hsv@dstszi.gov.ua>
wrote:
> В сообщении от 15 Декабрь 2004 09:29 Aleksander N. Gorohovski написал(a):
>
>> Кто знает, можно ли в командной строке
>> в параметрах к ispell задавать не файл,
>> а проверяемое на орфографию конткретное слово?
> Ispell и aspell могут работать в итерактивном режиме (читать стандартный
> ввод
> и выдавать результат на стандартный вывод).
> Т.е. можно поэкспериментировать с
> echo "слово" | ispell -a
Большое спасибо за помощь.
:-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-17 6:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-15 7:29 [Comm] ispell Aleksander N. Gorohovski
2004-12-15 10:56 ` Sergey Shilov
2004-12-17 6:11 ` Aleksander N. Gorohovski
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git