Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: GRUB Append Parameter in-between Quotes

by neilwatson (Priest)
on Sep 09, 2016 at 18:48 UTC ( #1171482=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1171482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2019-04-20 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (108 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!