BASIS  version 1.2.3 (revision 2104)
Functions
basistest.sh File Reference

Common wrapper for the basistest subcommands. More...

Go to the source code of this file.

Functions

function print_help ()
 Print help.
function print_helpshort ()
 Print usage information.
function print_options ()
 Print options.
function print_synopsis ()
 Print synopsis, i.e., usage section.
function realpath (in path)
 Get real path of given file or directory.

Detailed Description

Common wrapper for the basistest subcommands.

Copyright (c) 2011 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file basistest.sh.


Function Documentation

function realpath ( in  path)

Get real path of given file or directory.

Note:
This function was substituted by BASIS either for the string @BASIS_BASH_UTILITIES@ or @BASIS_BASH_FUNCTION_realpath@.

Example:

 exec_dir=`realpath $0`
Parameters:
[in]pathFile or directory path.
Returns:
Canonical path.
See also:
http://stackoverflow.com/questions/7665/how-to-resolve-symbolic-links-in-a-shell-script