May 29, 2013, 2:49 PM
Post #5 of 5
Yes, but even though I do not claim to be a shell expert (I am doing more and more things in Perl, and less and less in shell), I have written dozens of thousands of lines of code in shell, and I can say that you usually don't need to do that in a shell program (at least not in the shells that I know), unless you want to do something quite special, such as hiding special characters so that the shell does not sees it. For example, assuming you want to pass to a program (Perl or other) the following arguments "foo | bar", you would probably (I haven't tried such bizarre syntax) need the quotes to prevent the shell from interpreting '|' as a pipe between shell commands. But that's exactly what you would also do on the shell command line in such a case.
Re: [FishMonger] Using variable from shell script in perl file
[In reply to]