Revision [243]

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

 

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).








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