Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: GRUB Append Parameter in-between Quotes

by neilwatson (Priest)
on Sep 09, 2016 at 18:48 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1171482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-03-28 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found