Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

UUX(1C)

��������
uux - ���������� ������ �� ��������� ��������

���������

	uux  [-] [-a ���_������������] [-b] [-c] [-C] [-g ���������] [-j] [-n] [
	     [-r] [-s ����] [-x �������_�������] [-z] ���������_�������

��������
������� uux �������� ���� ��� ����� ������ � ��������� ������, ��������� ������� �� ��������� ������� � ����� ���������� ����������� ����� � ���� �� ��������� �������. �������, ��� � ����� ������������ �� ������ ������� �������� ����������� �� ������ ������, ����������� uux. ������ ��������� ����������� ����������� uux ������ ��������� ����� [��. mail(1)]. (����� �� ���������� ������ �� ��������� �������� ����������� � ����� /usr/lib/uucp/Permissions).

���������_������� ������� �� ������ ��� ����� ���������� � ������ �� ��������� ������ shell'�, �� ����� ������ � ������ ����� ����� ������� [���_�������]!. ���� ���_������� �� �������, ��������������� ��������� �������.

��� ����� ����� ����:

  1. ������ ���������� ������.
  2. ���������� ������ � ���������� ~���_������������, ������� ���������� ������ ��������� �������� ������������ � ��������������� �������. ���� ������ ������������ ���, ����������� ������� /usr/spool/ uucppublic.
  3. ���������� ������ � ���������� ~/����������, ������� ���������� �� /usr/spool/uucppublic/����������. ���������� ���������� ��� ��� �������� �����, ���� ������ �� ���������� ��������� ������ ��� ���������� ����� ��� �� ��� ������ ��� �������. ���� ����������� ����� ��������� ����������� � �������, ����� ���������� ������� ��������� /. ���, ���� � �������� ��������_����� ������� ~/dir/, ����� ������ ������� /usr/spool/uucppublic/dir (���� ��� ��� �� ����), � ������� � ����������� �������� �����.

��� ��������� ��������� ���������� ������ ������������ �������� ��������.

��������, �������

	uux  "!diff sys5!/usr/dan/f1 sys6!/dan/f2 > !~/dan/f3"

������� ���� f1 � ������ sys5, ���� f2 � ������ sys6, ������� �� ����������� ������� diff(1) � �������� ��������� � ���� /usr/spool/uucppublic/f3 �� ��������� ������.

����� ������, ������� ��� shell'� ����������� ��������, ������ ���� ����������� ���� ����� ���������� ���������_������� � �������, ��� ��� ������� � �������, ���� ����� ������������� ������� ������� ��������.

������� uux �������� ������� ��� ������ ����� �� ��� ������, ��� ����� ����������� �������. �������� ����� ������� ��������� � ������. ��������, �������

	uux  a!cut -c1-72 b!/usr/file \(c!/usr/file\)

�������� ���� /usr/file � ������ b �� a, �������� �� ������ a ������� cut(1) � �������� ��������� �� ������ c.

���� ����������� ������� ��������� � ��������� �������, �� uux ������� �� ����. ��������� ������ �� ����� � ��������� ������. �������� ��� ��������� ������� ����� -n.

������� uux �������������� ��������� �����:

-
������� ����������� ���� uux ����������� ������ ��� ���������_�������.

-a ���_������������
������������ �������� ���_������������ ������ �������������� ������������, ������������ ������� uux. ��� ��������� ����� ������� ������������.

-b
���������, ��� �� �� ��������� �� ������������ ����� ��� uux, ���� ��� ���������� ���������.

-c
��� ��������� ���������� ����� �� ��������� ������� �� ���������� ��� � �������� ������� (����� �� ���������).

-C
��� ��������� ���������� ����� �� ��������� ������� ���������� ��� � �������� �������.

-g ���������
��������� - ���� ������ (����� ��� �����). ��� ������ ASCII-��� �������, ��� ������� ��������� � �������� ������ ����� ����� ����� �������. �� ��������� ��������� ����� N.

-j
������ ������������� ������� � ���� ������� �������� �� ����������� �����. ���� ������������� ����� ������������ ��������� � �������� uustat(1C) ��� ��������� ��������� ��� ��� ���������� �������.

-n
�� �������� ������������, ���� ������� �� ������� ���������.

-p
�� ��, ��� � -.

-r
��������� ������� � �������, �� �� �������� ������� ����������.

-s ����
��������� ������ ������� � ����. �������, ��� ���� ������ ���������� ������ ���������� ������.

-x �������_�������
�������� �� ����������� ����� ���������� ����������. �������_������� - ��� ����� �� 0 �� 9, ������ �������� ����� ������������� ����� ��������� ����������.

-z
������� ������������ ����������� �� �������� ���������� �������.

�����

	/usr/spool/uucp/*          ��������� ��������.
	/usr/lib/uucp/Permissions  ����� ��  ����������  ������
		                   �� ��������� ��������.
	/usr/lib/uucp/*            ������ ����� �������� � ������.

��. �����
cu(1), mail(1), uucp(1C), uustat(1C).

���������������
������ ������ ������� ��������� ����� ����� ������� ���_�������!. ��� ��������� ������� ����� ����������� � ���� �� �������.

������������� ����������� shell'� * ����� �������� � ����������� ������������. ������� shell'� << � >> �� ��������������.

���������� ������� �� ��������� ������� ������������ ������ � ����������� ��������, ��������� uucp. ��� ��������� ����� ����� �������� � ���� �������, ���� ������ ��� ��� �� ��������� �� ���� ������. ����� �������, ������� ��� ����� (��� �������� �������� ������ ��� ������) ������ ���� ���������� � ������ ������� ������� uux. ��������� ������� �� ����� ��������:

	uux  "a!diff b!/usr/dan/xyz c!/usr/dan/xyz > !xyz.diff"
�� �������
	uux  "a!diff a!/usr/dan/xyz c!/usr/dan/xyz > !xyz.diff"
����������� ��������� (���� ������� diff ��������� ��� ���������� �� ��������� ��������).

��������
���������� ����� � �����, ����������� � ���������� ���������, ���������� ������� �������� ��������, ����� ������������ � ���� ������ ������� uucp. ������, ���� �������� �������� ������������������, � ������� ���������� ��� ��������� ��� ���� ���������� ��� ������ ������ �������������, �� ������ �� ����� ������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT