ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] объясние как работает test
@ 2006-04-19 19:20 Artem Zolochevskiy
  2006-04-19 20:20 ` Genix
  2006-04-19 20:42 ` Alexy Hammer
  0 siblings, 2 replies; 4+ messages in thread
From: Artem Zolochevskiy @ 2006-04-19 19:20 UTC (permalink / raw)
  To: community

hi all

ногами не бить... не писатели мы...

почему в shell работает
if [ `echo "ku"`="ku" ]; then echo "true"; else echo "flase"; fi
а вот
if [ `echo "ku ku"`="ku ku" ]; then echo "true"; else echo "flase"; fi
ругается
bash: [: ku: unary operator expected
flase

ругани его я не понимаю :-(
--
Artem Zolochevskiy



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

end of thread, other threads:[~2006-04-19 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 19:20 [Comm] объясние как работает test Artem Zolochevskiy
2006-04-19 20:20 ` Genix
2006-04-19 20:42 ` Alexy Hammer
2006-04-19 21:08   ` Artem Zolochevskiy

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