On 19.12.2013, at 23:04, e-letter <[email protected]> wrote: > On 19/12/2013, Christian Grün <[email protected]> wrote: >> I would be pleased if you could first check out our documentation; it >> contains all the information you seem to be looking for. >> Am 19.12.2013 22:32 schrieb "e-letter" <[email protected]>: >> >>> On 19/12/2013, [email protected] >>> <[email protected]> wrote: >>>> Today's Topics: >>>> >>>> 4. Re: initial installation observation (Christian Gr?n) >>>> ------------------------------ >>>> >>>> Message: 4 >>>> Date: Thu, 19 Dec 2013 12:29:06 +0100 >>>> Subject: Re: [basex-talk] initial installation observation >>>> >>> >>>>>> You can optionally check out the following Wiki article to see what >>>>>> other startup options may be helpful: >>>>>> >>>>>> http://docs.basex.org/wiki/Start_Scripts >>> >>> Starting the command terminal fails: >>> >>> $ basex >>> BaseX 7.7.2 [Standalone] >>> Try help to get more information. >>> >>>> OPEN xmldatabasefile.xml >>> Stopped at ., 1/21: >>> Syntax: OPEN [name] ([path]) >>> Open database. >>> >>> Opens the database [name], filtered by [path]. >>> >>>> OPEN xmldatabasefile.xml /path/to/file >>> Stopped at ., 1/21: >>> Syntax: OPEN [name] ([path]) >>> Open database. >>> >>> Opens the database [name], filtered by [path]. >>> >>>> OPEN xmldatabasefile.xml, /path/to/file >>> Stopped at ., 1/21: >>> Syntax: OPEN [name] ([path]) >>> Open database. >>> >>> Opens the database [name], filtered by [path]. >>> >>> How to open the database file, please? >>> >>> -- >>> basex772 > > According to the page 'standalone' > (http://docs.basex.org/wiki/Command-Line_Options#BaseX_Standalone) > > basex -h > > will cause production of a list of commands, but this is not seen: > > $ basex -h > BaseX 7.7.2 [Standalone] > Try help to get more information. > > $ basex -i xmldatabasefile.xml > BaseX 7.7.2 [Standalone] > Try help to get more information. > >> > >> help > Try HELP [...] to get info on a specific command. > > ADD (TO [path]) [input] > Add resource to database. > ALTER [DATABASE|USER] [...] > Alter database name or user password. > CHECK [input] > Open or create database. > CLOSE > Close current database. > COPY [name] [newname] > Copy database. > CREATE [BACKUP|DATABASE|EVENT|INDEX|USER] [...] > Create database, index, user, backup or event. > CS [query] > Run XQuery and set result as new context set. > DELETE [path] > Delete resources from database. > DROP [BACKUP|DATABASE|EVENT|INDEX|USER] [...] > Drop database, index, user, backup or event. > EXIT > Exit application. > EXPORT [path] > Export database to XML. > FIND [keywords] > Run a keyword query. > FLUSH > Flush database. > GET [option] > Show global option. > GRANT [NONE|READ|WRITE|CREATE|ADMIN] (ON [database]) TO [user] > Grant user permissions. > HELP ([command]) > Get help on BaseX commands. > INFO ([DATABASE|INDEX|STORAGE]) > Show information on current database. > INSPECT > Perform integrity checks. > KILL [name] > Kill user sessions. > LIST ([name] ([path])) > List databases or resources of database. > OPEN [name] ([path]) > Open database. > OPTIMIZE (ALL) > Optimize the database. > PASSWORD ([password]) > Change password. > RENAME [path] [newpath] > Rename resources in database. > REPLACE [path] [input] > Replace resources in database. > REPO [DELETE|INSTALL|LIST] > Install, delete or list packages. > RESTORE [name-(date)] > Restore database. > RETRIEVE [path] > Retrieve raw data. > RUN [path] > Run query or command script. > EXECUTE [input] > Execute command script. > SET [option] ([value]) > Set global options. > SHOW [BACKUPS|EVENTS|SESSIONS|USERS] > Show server information. > STORE (TO [path]) [input] > Store raw data. > XQUERY [query] > Run XQuery.
$ basex -h BaseX 7.8 beta [Standalone] Usage: basex [-bcdiLoqsuvVwxz] [input] [input] Execute input file or expression -b<pars> Bind external query variables -c<input> Execute commands from file or string -d Activate debugging mode -i<input> Open initial file or database -L Append newlines to query results -o<output> Write output to file -q<expr> Execute XQuery expression -s<pars> Set serialization parameter(s) -u Write updates back to original files -v/V Show (all) process info -w Preserve whitespaces from input files -x Show query execution plan -z Skip output of results $ cat /tmp/foo.xml <foo> <bar/> </foo> $ basex -i /tmp/foo.xml BaseX 7.8 beta [Standalone] Try help to get more information. > xquery / <foo> <bar/> </foo> Query executed in 12.79 ms. > exit Have a nice day. … what's the problem? _______________________________________________ BaseX-Talk mailing list [email protected] https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

