Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: ClearCase Command text in Backticks is ignored

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

Help for this page

Select Code to Download


  1. or download this
    # Not sure if you are trying to pass literal '\t','\n' or tab and newl
    +ine characters...assuming tab and newline
    system(cleartool => 'lsco', '-r', '-brt', $stream, '-fmt', "%En\t%u\n"
    +);
    
  2. or download this
    open(my $fh, "-|",
      cleartool => 'lsco', '-r', '-brt', $stream, '-fmt', "%En\t%u\n") or 
    +die "Err: $!";
    ...
      print "OUTPUT: $_";
    }
    close $fh or die "Error: $!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-11-22 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (125 votes), past polls