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

Re^3: ClearCase Command text in Backticks is ignored

by kennethk (Abbot)
on May 08, 2013 at 16:41 UTC ( #1032635=note: print w/replies, xml ) Need Help??

in reply to Re^2: ClearCase Command text in Backticks is ignored
in thread ClearCase Command text in Backticks is ignored

The zero is still at the end, but I can always chop that off
If your code is essentially
my $output = system(...); print $output;
then you should note that system returns the status code returned by the call, not the output of the call. There's no reason to do the print, and probably no reason to capture the return.
I also tried it with including the double quotes escaped
The question I should have included up front is "What is the exact syntax that works on the command line?" If you pass system '\"%En\\t%u\\n\"', I believe it should be equivalent to entering '\\"%En\\t%u\\n\\"' on the CLI, which I think is unlikely to be what you intend.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032635]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2018-05-26 14:40 GMT
Find Nodes?
    Voting Booth?