ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] countable nouns
@ 2005-07-22 18:38 Alexey Tourbin
  2005-07-22 19:01 ` [sisyphus] " Sergey V Turchin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alexey Tourbin @ 2005-07-22 18:38 UTC (permalink / raw)
  To: Sisyphus

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

Как правильно (по-английски) считать существительные?

$ count()
function> {
function>         local n="$1"; shift
function>         local noun="$1"; shift
function>         local plural=
function>         [ "$n" -gt 1 ] && plural=s
function>         echo "$n $noun$plural"
function> }
$ count 1 package
1 package
$ count 2 package
2 packages
$ count 3 dependency
3 dependencys
$

(Последнее неверно -- пишется dependencies.)
Есть для этого какая-нибудь стандартная программа?

PS: робот! Робот хочет стать грамотным. :)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-07-26 14:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 18:38 [sisyphus] countable nouns Alexey Tourbin
2005-07-22 19:01 ` [sisyphus] " Sergey V Turchin
2005-07-22 21:48   ` Alexey Tourbin
2005-07-25  8:11     ` Mikhail Yakshin
2005-07-25 16:18       ` Alexey Tourbin
2005-07-26  9:53         ` Mikhail Yakshin
2005-07-26 14:38           ` [sisyphus] [JT] " Michael Shigorin
2005-07-22 20:37 ` [sisyphus] " Alexey Rusakov
2005-07-25 16:59   ` Ivan Adzhubey
2005-07-23 15:33 ` Alexey Voinov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git