Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Example:
drush vget theme --pipe
$variables['admin_theme'] = 'seven';$variables['node_admin_theme'] = '1';$variables['theme_default'] = 'bartik';
It should output results on their own lines.
Comment | File | Size | Author |
---|---|---|---|
#1 | drush-1659668-1-pipe.patch | 687 bytes | duellj |
Comments
Comment #1
duellj CreditAttribution: duellj commentedSimple fix, just need to call drush_print_pipe outside of the loop
Comment #2
greg.1.anderson CreditAttribution: greg.1.anderson commentedI think this change could be safely made in Drush 5.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted
Comment #5
msonnabaum CreditAttribution: msonnabaum commentedgit bisect is telling me this commit broke the pmEnDisUnListTest test. Can someone else confirm?
Comment #6
msonnabaum CreditAttribution: msonnabaum commentedTracking the test failure and proposed solution over at #1679418: Don't add extra newline on --pipe