OSFI-Fortran  3.9.2
OpenSF Integration Library
osfi_clp Module Reference

CLP routines Provides procedures to parse the command line arguments, generating a list of tokens grouped as: More...

Data Types

interface  osfi_commandlineparser
 Type that wraps the Parameter class in OSFI-C++. More...
 

Detailed Description

CLP routines Provides procedures to parse the command line arguments, generating a list of tokens grouped as:

  • Configuration file
  • Input files
  • Output files

Command line must follow the following format (expressed in Extended Backus-Naur form):

<command_line> ::= <executable_name> <white_spaces> (<configuration_file> <white_spaces>)? <input_files> <white_spaces> <output_files> <EOL>
<executable_name> ::= <file_name>
<white_spaces> ::= (“ “)+
<file_name> ::= (<alphanumeric>)+
<configuration_file> ::= <file_name>
<input_files> ::= <list_of_files>
<output_files> ::== <list_of_files>
<list_of_files> ::= <file_name>(“,” <file_name>)*

File names must be valid OS-dependant file locations