Changes between Version 33 and Version 34 of ErlangShellInterface


Ignore:
Timestamp:
Apr 29, 2013, 7:01:07 PM (12 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ErlangShellInterface

    v33 v34  
    177177Additional options can be given to a [[SemanticQuery|semantic query]] in a proplist as the last 
    178178argument. The following arguments are currently recognized:\\ 
    179 * '''{out,!FileName}''': write the textual output of a query to a file.\\ 
     179* '''{out,!FileName}''': write the textual output of a query to a file. If the Filename contains relative path, then it will be converted absolute by using the path of the current working directory as base.\\ 
    180180* '''linenum''': prepends match sites with file and line number information.\\ 
    181181similar to '''grep -n'''. 
    182182The following example outputs all defined functions with line numbers to a 
    183 file named result.txt. 
     183file named result.txt and located in the current working directory. 
    184184 
    185185{{{ 
    186186#!erlang 
    187187ri:q("mods.funs",[linenum,{out,"result.txt"}]). 
     188}}} 
     189 
     190or 
     191 
     192{{{ 
     193#!erlang 
     194ri:q(m, "f\\(X, Y\\)", "@fun.var", [linenum,{out,"result.txt"}]). 
    188195}}} 
    189196