mbox series

[0/3] Support codeparser shell expansion between quotes

Message ID 20240514015234.67318-1-antoningodard@pm.me
Headers show
Series Support codeparser shell expansion between quotes | expand

Message

Antonin Godard May 14, 2024, 1:52 a.m. UTC
Hi,

This patch series adds support for shell expansions to be included do_* tasks
when they are done between quotes. Previously, these shell expansions were
limited to a syntax without quotes.

A series of tests are added to show/test the different use cases of the
backticks and $() syntax. An extra commit also remove the redundant list
conversion done in process_words().

-Antonin

Antonin Godard (3):
  codeparser: support shell substitutions in quotes
  codeparser: remove redundant list conversion
  tests.codeparser: add tests for shell expansions

 lib/bb/codeparser.py       | 31 +++++++++++++++++++++--------
 lib/bb/tests/codeparser.py | 40 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+), 8 deletions(-)

--
2.44.0