Bash , . bash, bash, , . (, Windows , , Perl , .)
Quoting file names is a standard solution, and Linux command-line users should be familiar with it.
Other programs (such as find (1) ) have the same problem when you need to specify arguments that take wildcards.
(Even if you could somehow query the bash command line history from your Perl script to find the command when the user typed it, you will still have problems running your script, other shells, other scripts, etc.)
source
share