����������� ������� - ������ ������� ���������. ������� ���������:
command_name alias option expansion |
��� �������� ������ ������� rpm ������ command_name ������������� rpm. ����� ������� ��� ��������� � ����� - �����. ��� �������� � ��������� ������� ����� ���������� �������� �� �����������. expansion, �� ���� �� ��� ��������������� �����, ������������ � �������� ��� ������������ ���������� ��������� ������.
� ������������� ������� ������������ ������� ��������� ��� ������ ���������� � ������:
rpm alias --info --qf 'Name : %-27{NAME} |
��������� ������ popt ���������� ��������������� � Linux-�������, � ��� ����� ������������ ��������� � ������ ������������ ������� shell-����������.
��� ��������� �������� ������� ������� ��������� � ���� /usr/lib/rpm/rpmpopt. ��� �������� ������ ����� ��������� �������� ������� �����������.
����� ����������� ������� ����� �������� ������, ������� ������������� �������, ��� � ���������� ���� �������. � ������ ������ ��������������� ���� � �� RPM:
rpm alias --dbpath --define '_dbpath !#:+' |
� ������ ������� ����������� !#:+ ���������� ��� ������� ���������, ��� ��� �������������� ������� shell-������. � ����� ������ popt ��� �������� "������� ��������� �������� ��������� ������ � ��������� ��� � �������, � ������� ��������������� ���������".
��� ��������� ������ --help � --usage ����� ���������� �����
--POPTdesc � --POPTargs ��� �������, ��� �������� � ���������� ��������. ��� ����� ����� ������������ �������������������.
�� ����� �������������� ����, ��� � ����� ��������� ���������� popt ������ ������ �� ������ � ������� � ������� �����, ������� ������������ � C RPM API.
����� - ���������������� ����������
����� - ���������� ����������� popt
����������