Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: backticks and quotation trouble in bash

by Tommy (Chaplain)
on Dec 18, 2012 at 16:29 UTC ( #1009424=note: print w/replies, xml ) Need Help??


in reply to Re^4: backticks and quotation trouble in bash
in thread backticks and quotation trouble in bash

In bash, you can't nest backticks, but you can nest the newer, more flexible "$()" construct:

echo "$( command arg arg '$( nested_command arg arg )' )"

--
Tommy
$ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009424]
help
Chatterbox?
[erix]: when you name is KirchenHuegel you want some compensation
LanX was googling for Kirchenhügel ... till he realized someone is translating Church-Hill to German... (slapping forhead)
[erix]: ha :) (confusion)++
[erix]: just trying to keep you alert ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-12-12 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?