[augeas-devel] [Augeas] #377: Shellvars_list lens does not handle backticks

Augeas trac at fedorahosted.org
Mon Jan 13 22:54:54 UTC 2014


#377: Shellvars_list lens does not handle backticks
---------------------+--------------------
  Reporter:  rminsk  |      Owner:  lutter
      Type:  defect  |     Status:  new
  Priority:  minor   |  Milestone:  next
 Component:  Augeas  |    Version:  1.1.0
Resolution:          |   Keywords:
Blocked By:          |   Blocking:
---------------------+--------------------

Comment (by lutter):

 You could try handling this by using '$(' as the opening quote, and ')' as
 the closing quote, something like

 {{{
    del '$(' '$(' . stuff . del ')' ')'
 }}}

 The headache with the bash construct is that it can be nested, which would
 force you to use a recursive lens ('let rec')

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/377#comment:3>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list