in reply to GRUB Append Parameter in-between Quotes

How is this a Perl question?

Neil Watson
watson-wilson.ca

  • Comment on Re: GRUB Append Parameter in-between Quotes

Replies are listed 'Best First'.
Re^2: GRUB Append Parameter in-between Quotes
by ephemeric (Novice) on Sep 12, 2016 at 07:50 UTC

    I'm sorry, should have said that I can't get it to work in sed and Ansible module, how would one go about doing it in Perl?

      See perlrun for -p and -e:

      echo 'FOO="bar"' | perl -pe '/^FOO=/ and s/"$/ baz"/;'

        Thank you.