help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] How to create a real copy of file descriptors stdout / s


From: Greg Wooledge
Subject: Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?
Date: Tue, 28 Feb 2017 12:18:11 -0500
User-agent: Mutt/1.4.2.3i

On Tue, Feb 28, 2017 at 04:29:23PM +0000, Branden Robinson wrote:
> On Tue, Feb 28, 2017 at 2:28 PM, Patrick Schleizer
> <address@hidden> wrote:
> 
> > Is there some pre-build command line tool isatty or shared object isatty.so?
> 
> Thomas Dickey has an isatty command-line tool.
> 
> http://invisible-island.net/misc_tools/index.html

If all you want is a shell command, you can use test -t 1 (or 0, or 2).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]