ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Форматирование исходников
@ 2004-03-22  7:21 Grigory Batalov
  2004-03-22  7:34 ` Denis Klykvin
  2004-03-22  7:52 ` Evgeny Yugov
  0 siblings, 2 replies; 4+ messages in thread
From: Grigory Batalov @ 2004-03-22  7:21 UTC (permalink / raw)
  To: community

Здравствуйте!

Хочу отформатировать исходники на C и PHP для улучшения
читабельности. Заменить отступы табуляциями, поставить пробелы
вокруг операторов и т.п. Есть ли для этого инструментарий?

Например, заменить

 if(a!=b)
   { c=0;
     /* some command */
    }

на

if (a != b) {
	c=0;
	/* some command */
}


-- 
Григорий Баталов,
начальник бюро
системного администрирования
ОАО "Ковдорский ГОК"
+7-(81535)-76036


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

end of thread, other threads:[~2004-03-22  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-22  7:21 [Comm] Форматирование исходников Grigory Batalov
2004-03-22  7:34 ` Denis Klykvin
2004-03-22  8:20   ` Grigory Batalov
2004-03-22  7:52 ` Evgeny Yugov

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