The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

CPAN::HandleConfig (3)
  • >> CPAN::HandleConfig (3) ( Разные man: Библиотечные вызовы )
  •  

    CLASS->safe_quote ITEM

    Quotes an item to become safe against spaces in shell interpolation. An item is enclosed in double quotes if:

      - the item contains spaces in the middle
      - the item does not start with a quote
    
    

    This happens to avoid shell interpolation problems when whitespace is present in directory names.

    This method uses "commands_quote" to determine the correct quote. If "commands_quote" is a space, no quoting will take place.

    if it starts and ends with the same quote character: leave it as it is

    if it contains no whitespace: leave it as it is

    if it contains whitespace, then

    if it contains quotes: better leave it as it is

    else: quote it with the correct quote type for the box we're on  

    LICENSE

    This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


     

    Index

    CLASS->safe_quote ITEM
    LICENSE


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру