tee Questions

2

Is it possible to plot a graph into several output devices at once? I tried: getwd() pdf("level1.pdf") pdf("level2.pdf") png("level3.png") x=1:10 y=1:10 plot(x, y) dev.off() # close level...
Sacttler asked 26/2, 2013 at 8:30

2

I can use tee to send output to both stdout and file like this: ./process.sh | tee output.log How do i send complete output to stdout and grepped output to file? This one won't work, because te...
Laniferous asked 8/2, 2013 at 18:21

3

Solved

Possible Duplicate: osx/linux: pipes into two processes? Is there a way to pipe the output from one command into the input of two other commands, running them simultaneously? Somethi...
Rounded asked 28/10, 2012 at 9:45

1

Solved

I have created a Jenkins build to compile and distribute some modules. The output of the build commands (e.g., make or ant) is redirected to a file named build.log. The funny thing is that redirec...
Coating asked 4/6, 2012 at 14:56

3

Solved

I am new to using tee command. I am trying to run one of my program which takes long time to finish but it prints out information as it progresses. I am using 'tee' to save the output to a file as...
Portiaportico asked 22/5, 2012 at 21:28

0

So, I've got a rather long and involved script intended to be used by people who aren't going to want to dig into anything that goes wrong. Recently, during testing, the script froze inexpli...
Hothouse asked 1/3, 2012 at 20:24

6

Solved

I'm currently using the following to capture everything that goes to the terminal and throw it into a log file exec 4<&1 5<&2 1>&2>&>(tee -a $LOG_FILE) however, I ...
Churn asked 4/1, 2012 at 0:13

4

Solved

I have a shell script in which I wrap a command (mvn clean install), to redirect the output to a logfile. #!/bin/bash ... mvn clean install $@ | tee $logfile echo $? # Does not show the ret...
Cailly asked 29/7, 2011 at 10:36

4

Solved

I would like to have a script wherein all commands are tee'd to a log file. Right now I am running every command in the script thusly: <command> | tee -a $LOGFILE Is there a way to force ...
Chichi asked 27/10, 2010 at 19:59

1

Solved

Below are some tests about itertools.tee: li = [x for x in range(10)] ite = iter(li) ================================================== it = itertools.tee(ite, 5) >>> type(ite) <t...
Mukul asked 18/10, 2010 at 7:34

1

Solved

Is there any way to stop PowerShell from removing console message colors when using tee-object? When I run without tee-object I get the nice error and verbose powershell message colors like this: ...
Retrieval asked 21/7, 2010 at 22:40

9

I'm looking for a Python solution that will allow me to save the output of a command in a file without hiding it from the console. FYI: I'm asking about tee (as the Unix command line utility) and ...
Phenetidine asked 8/6, 2010 at 11:36

2

Solved

In a Unix environment, I want to use tee on a chain of commands like so: $ echo 1; echo 2 | tee file 1 2 $ cat file 2 Why does file only end up as having the output from the final command? For...
Rivera asked 17/5, 2010 at 18:54

4

Solved

I want to execute a command, have the output of that command get gzip'd on the fly, and also echo/tee out the output of that command. i.e., something like: echo "hey hey, we're the monkees&quo...
Vidovik asked 20/2, 2009 at 19:49

3

Solved

I'd like to compose two (or more) streams into one. My goal is that any output directed to cout, cerr, and clog also be outputted into a file, along with the original stream. (For when things are l...
Lexicographer asked 19/11, 2009 at 3:35

© 2022 - 2024 — McMap. All rights reserved.