Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Подсветка" строк в bash

7 views
Skip to first unread message

Stas Degteff

unread,
Oct 30, 2009, 8:00:30 PM10/30/09
to

������, All!

��� ������������� ����� ����������� ������ ������� ls � bash? � �� �������� �
������� 0777 �������� �������� ������� �� �����-��̣��� ����, ��� ���������
����������.

Stas Degteff
... Golded+, Husky, RNTrack maintainer

Egor Glukhov

unread,
Oct 30, 2009, 6:12:56 PM10/30/09
to
Good ${greeting_time}, Stas!

31 Oct 09 03:00, you wrote to All:

SD> ��� ������������� ����� ����������� ������ ������� ls � bash? � ��
SD> �������� � ������� 0777 �������� �������� ������� �� �����-��̣��� ����,
SD> ��� ��������� ����������.

/etc/DIR_COLORS
~/.dir_colors

man dircolors, � ����� :)

... god@universe:~ # cvs up && make world

Slav Matveev

unread,
Oct 30, 2009, 6:35:35 PM10/30/09
to
Hi Stas!

31 Oct 09 03:00, Stas Degteff wrote to All:

SD> ��� ������������� ����� ����������� ������ ������� ls � bash? � ��
SD> �������� � ������� 0777 �������� �������� ������� �� �����-��̣���

SD> ����, ��� ��������� ����������.

LS_COLORS
man dircolors

Slav.

Alexey Vissarionov

unread,
Oct 31, 2009, 1:05:08 AM10/31/09
to
������� ������� �����, Stas!

31 Oct 09 03:00, Stas Degteff -> All:

SD> ��� ������������� ����� ����������� ������ ������� ls � bash? � ��
SD> �������� � ������� 0777 �������� �������� ������� �� �����-��̣���
SD> ����, ��� ��������� ����������.

��� ��� ������ `man ls`:

By default, color is not used to distinguish types of
files. That is equivalent to using --color=none. Using
the --color option without the optional WHEN argument is
equivalent to using --color=always. With --color=auto,
color codes are output only if standard output is con-
nected to a terminal (tty). The environment variable
LS_COLORS can influence the colors, and can be set easily
by the dircolors command.

� ��������� � ������� 0777 ���� ������ �� ������.


--
Alexey V. Vissarionov aka Gremlin from Kremlin
gremlin ��� gremlin ��� ru; +vii-cmiii-ccxxix-lxxix-xlii

... ��� � ���� ������� ���������, ��� ��������� ������� ���������

Stas Degteff

unread,
Oct 31, 2009, 1:11:02 PM10/31/09
to
Hello Egor!

31 Oct 09 01:12, you wrote to me:

SD>> ��� ������������� ����� ����������� ������ ������� ls � bash? �
SD>> �� �������� � ������� 0777 �������� �������� ������� ��

SD>> �����-��̣��� ����, ��� ��������� ����������.

EG> /etc/DIR_COLORS
EG> ~/.dir_colors

EG> man dircolors, � ����� :)

������� �� �������� man. ������ �������� ������������, � ��� ����� � �
��������� dircolors.c, ��������� ���� man �������. ���� ���������...

Stas

0 new messages