Revision [962]

This is an old revision of CommandXuri made by DavidLee on 2009-11-24 18:59:54.

 

Command xuri



Name

xuri Constructs and disects URI's

Synopsis

xuri [options] uri
xuri [options] base uri
xuri [options] scheme ssp fragment
xuri [options] scheme host path fragment
xuri [options] scheme authority path query fragment
xuri [options] scheme user host port path query fragment

As a special case, in the 1 argument case if the uri has no scheme it is converted into a file URI.


Options


Supports the standard [ serialization options ]


-authority
-a
Outputs the authority
-fragment
-f
Outputs the fragment
-host
-h
Outputs the host
-path
-p
Outputs the path
-port
-P
Outputs the Port
-query
-Q
Outputs the query
-scheme
-s
Outputs the scheme



Description


Example:
$ xuri http test.xmlsh.org /data/books.xml ""
http://test.xmlsh.org/data/books.xml


$ xuri -p http test.xmlsh.org /data/books.xml ""
/data/books.xml



Return Value

Returns 0 if the command executed successfully, 1 if there was an error.

Commands
CategoryCommands

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