TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Francois Thunus
from: Mike Bilow
date: 1997-01-29 19:58:08
subject: redirection

Francois Thunus wrote in a message to Henk Den Adel:

 FT> appli  log. or appli log

This is not quite the syntax you want.  Correct are:

   appli 0 log     -- 'input' to stdin (0); stdout (1) to 'log'

   appli 2> err              -- stderr (2) to 'err'

   appli 2>&1                -- stderr (2) to stdout (1)

   appli 2>&1 | appliother   -- stderr (2) to stdout (1), piped as stdin to
                                'appliother'
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 323/107 396/1 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.