# $Id: redir.txt,v 1.1 1994/08/29 04:31:20 tt Rel $
 Command Redirector version 1.0   
             Aug. 29, 1994 by t^2 

NAME
       redir - Ϥ쥯Ȥƥޥɤ¹Ԥ

SYNOPSIS
       redir [ -fd-[=]file [ -fd[=| ]file ] [ -fd+[=]file ] [ -fd1:fd2 ]
                 [ -- ] command ...

DESCRIPTION
       redir  COMMAND.COM ǤԲǽʽΤ쥯ȤԤ, 
       Ϳ줿 command ... ¹Ԥޤ.

       redir -fd-file command ...

       , եǥץ fd ϤȤ file Ѥޤ. 
       (sh(1)  fd<file )

       redir -fd=file command ...

       , եǥץ fd νϤȤ file Ѥޤ.
       file ¸ߤʤˤ, ޤ. ¸ߤˤ, 
       ƤڼΤƤƥ򥼥ˤޤ. (sh(1)  fd>file )

       redir -fd+file command ...

       , ϤȤ file Ѥޤ, file ¸ߤ, file 
       ǸɲýϤޤ. ¸ߤʤ, ˺ޤ.
       (sh(1)  fd>>file )

       redir -fd1:fd2 command ...

        եǥץ fd1 ϤȤ, λ fd2 
       ƤեѤޤ. (sh(1)  fd1>&fd2, fd1<&fd2 
       )

       쥯ȤλϽפǤ. redir Ϻ֤˰
       , 쥯Ȥ¹ԤƹԤޤ. (See EXAMPLES below.)

EXAMPLES

       (1)    redir -2=foo command ...

       command ... ɸ२顼Ϥ foo Ȥե˽񤭽Фޤ. 

       (2)    redir -2:1 command ...

       ɸ२顼Ϥ, ɸϤؤäĤޤ.

       (3)    redir -1=foo -2:1 command ...

       ɸϤɸ२顼Ϥξ foo ˥쥯Ȥޤ. 
       , ǽ -f=foo ư COMMAND.COM ˻ꤷ

              redir -2:1 command ... > foo

       Ǥ.

       (4)    redir -2:1 -1=foo command ...

       (3) ȽդˤʤäǤ, ޤɸ२顼Ϥλ
       ɸϤбƤե (̾ϥ󥽡) إ
       쥯Ȥޤ. θ, ɸϤΤߤ foo إ쥯Ȥ
       .

SEE ALSO
       sh(1), open(2), dup2(2)

BUGS
       顼ȯƤ, åϤޤ. ̤ư
       ʤäȤ, 顼θϤͤߤƤ. (Ķȴ)

       ɸϤɸ२顼ϤϤ, ɸϤϤ˻Ѥ뤳Ȥ
       ñˤǤƤޤ, 򾷤ޤ.

       ʥġȤ餤ʤ, ľ DOS ư sh 饤ʥ
       ڤǤ.

# Local variables:
# mode: indented-text
# indent-tabs-mode: nil
# tab-stop-list: (4 8 16 24 32 40 48 56 64 72 80)
# left-margin: 4
# fill-column: 72
# fill-prefix: "       "
# version-control: never
# End:
