in reply to backticks and quotation trouble in bash
It's a bash-quoting problem, since you can't nest backticks! ...`nslookup $1`...!
But there is a Perl solution: try qx or even system within perl to avoid disambiguation.
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: backticks and quotation trouble in bash
by floobit (Initiate) on Dec 18, 2012 at 15:26 UTC | |
by LanX (Saint) on Dec 18, 2012 at 15:42 UTC | |
by floobit (Initiate) on Dec 18, 2012 at 15:47 UTC | |
by Tommy (Chaplain) on Dec 18, 2012 at 16:29 UTC | |
by floobit (Initiate) on Dec 18, 2012 at 16:03 UTC | |
by CountZero (Bishop) on Dec 18, 2012 at 23:04 UTC | |
by roboticus (Chancellor) on Dec 18, 2012 at 15:43 UTC |
In Section
Seekers of Perl Wisdom