Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: preserve quotes after $0 interpolation

by roboticus (Chancellor)
on Dec 13, 2019 at 03:49 UTC ( [id://11110048]=note: print w/replies, xml ) Need Help??


in reply to preserve quotes after $0 + @ARGV interpolation

richard.sharpe:

I'd be surprised if you can find a satisfactory way to do it. If you try NetWallah's suggestion of slogging through history, you may find that the user put a blank before the command and has history suppressing lines beginning with blanks. The user could be running in a number of different shells, so shell trickery could be similarly difficult. So knowing which quotes to use, and/or whether there's any path prefix is added would be quite a trick.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: preserve quotes after $0 interpolation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found