Revision [247]

This is an old revision of CommandRedirect made by DavidLee on 2008-07-04 11:26:17.

 

IO Redirection


IO can be redirected as per the unix shells (sh) with "> file" , "< file" , "2> file".
Also Here Documents are supported for both text and XML documents.


Input Redirection

Using the syntax
command < file

Input for command is taken from the file "file" (either byte stream or Xml document).

Output Redirection

Using the syntax
command > file

Output for command is passed to file "file" (either byte stream or Xml document).



Stderr Redirection

Using the syntax
command 2> file

Stderr Output for command is passed to file "file" (either byte stream or Xml document).







See Also BasicSyntax


There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki