Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Capturing bash output without displaying STOUT in terminal [SOLVED]

by Linicks (Scribe)
on Sep 08, 2016 at 18:14 UTC ( #1171425=note: print w/replies, xml ) Need Help??


in reply to Re^4: Capturing bash output without displaying STOUT in terminal
in thread Capturing bash output without displaying STOUT in terminal

OK, first I had to suss out git to clear tags so I could test:

git tag -d $(git tag)

does it.

Now, as assumed, output goes somewhere else, so:

#!/usr/bin/perl use warnings; use strict; my $git; $git = `git fetch --tags 2>&1`; print "What's here? --- $git\n";

sorts it.

Nick

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2023-06-08 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?